I have this triple combo script and when the third option is selected, it automatically redirects you. What I need is for this to stop and be executed instead by a button. Would really appreciate it if anyone can help. I have tried to fix it but I’m a newbie. Not sure how to post the code so here if a link. Thanks
Share
Looking at the code on the link provided, the 3rd option has an “onchange” attribute that will call the “redirect2” function.
Although looking at the function itself, I am not so sure whether the function is capable of doing redirection. However, if you want to disable the redirection, you can remove the “onchange” attribute.
If you really need the function to keep being used (e.g. for updating any states/values), then you need to add return false at the end of the “onchange” attribute, for example:
Cheers :))