Custom JS script inside modalContent
Hi there, I am trying to create a modal, opening which will have some custom JS that shall run to take data from user.
Here's the code that will trigger the modal:
The view "control.modals.barcode_scanner" has the following code:
But I do see the script element in the DOM but the js inside does not run. Someone kindly help me with this.
Thanks and regards!
Here's the code that will trigger the modal:
The view "control.modals.barcode_scanner" has the following code:
But I do see the script element in the DOM but the js inside does not run. Someone kindly help me with this.
Thanks and regards!