Hi all,
I'm trying to add an onChange event linked to a select box.😲
Here is what I've done :
- Created a SELECT BOX in preview
- put a LOAD JS in events containing : document.getElementById('mySelectBox').onchange = alert('Hello');
- put a SHOW HTML in events.
When I load my web page, an alert comes, but nothing happens when I change the entry in the SELECT BOX.😢
Any idea 🤨
Thanks a lot for your answers.
CJ
I'm trying to add an onChange event linked to a select box.😲
Here is what I've done :
- Created a SELECT BOX in preview
- put a LOAD JS in events containing : document.getElementById('mySelectBox').onchange = alert('Hello');
- put a SHOW HTML in events.
When I load my web page, an alert comes, but nothing happens when I change the entry in the SELECT BOX.😢
Any idea 🤨
Thanks a lot for your answers.
CJ
This topic is locked and no more replies can be posted.
