Solved
How do I add code for a button in java script editor?
I created a button in the html editor and a function that is executed when it is pressed. This works, however, I would like to write the function in the java script editor, but when I write it there, it is ignored. Can anyone tell me what I am doing wrong? I don't know how the two texts (html and java script) are combined
Thank you!
Best answer by Anonymous
Hello @Mauricio ,
Assign an unique id attribute to your created button. In javascript under the js(onReady) function write the function using the `on('click')` event of the button as:
jQuery("#BUTTON_ID").on('click',function(){
//function goes here
});
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
