johnsmith153 Posted October 4, 2008 Share Posted October 4, 2008 A button has onclick"run this function etc.", what can I do with a dropdown/list menu so it will have the same effect as onclick for a button? Ie I select "option 3" and it runs a function, passing the value to the function. I can do all the jscript, just need to know what changes I make to the <select> <select onselect"run function" etc. sounds good to me, but obviosuly not. Link to comment https://forums.phpfreaks.com/topic/126961-simple-how-do-i-submit-on-selecting-dropdown/ Share on other sites More sharing options...
JasonLewis Posted October 4, 2008 Share Posted October 4, 2008 Here is a good list of the event handlers. I believe you'd be wanting 'onchange'. Link to comment https://forums.phpfreaks.com/topic/126961-simple-how-do-i-submit-on-selecting-dropdown/#findComment-656741 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.