dimanche 20 février 2022

Dispatch event on body tag with another element as the target

I have a client that uses EmberJS on their website. When I want to inject a value to one of the text input fields with elem.value="##", it changes the text inside the field, but does not update the variables that are sent to the server. It seems like there is an event listener on the <body> tag that does it. Is there a way to dispatch an event on the <body> element with some other element as the target?




Aucun commentaire:

Enregistrer un commentaire