I have a html file. i am calling a function in some javascript file from the html file. I want to dispatch the event from the js file and want to return the control back. i want to send the control back when i want. Can anyone please help me on how can i handle custom events in html and javascript.
Regards, Daksh