budimir Posted July 13, 2008 Share Posted July 13, 2008 How to execute a script when checkbox is clicked??? I don't want to click checkbox and then click on a submit button! I wan't that user clicks on a checkbox and then the script is executed and redirected back to the same page where it have clicked the checkbox. Quote Link to comment https://forums.phpfreaks.com/topic/114559-execute-script-on-checkbox/ Share on other sites More sharing options...
GingerRobot Posted July 13, 2008 Share Posted July 13, 2008 You'll need AJAX to do that. If you google, you'll find plenty of tutorials. See if you can avoid unnecesary punctuation next time. Quote Link to comment https://forums.phpfreaks.com/topic/114559-execute-script-on-checkbox/#findComment-589101 Share on other sites More sharing options...
Lodius2000 Posted July 13, 2008 Share Posted July 13, 2008 ajax or js google "javascript submit from checkbox" that should get you started Quote Link to comment https://forums.phpfreaks.com/topic/114559-execute-script-on-checkbox/#findComment-589142 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.