onChange in a select box [CF V4]

CyberJoeFR 29 Oct, 2011
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
GreyHead 31 Oct, 2011
Hi CyberJoeFR,

That looks OK. Is the Load JS action before the Show HTML action in the On Load event?

Bob
This topic is locked and no more replies can be posted.