shivam0101 Posted February 9, 2007 Share Posted February 9, 2007 How to check whether a checkbox is checked or not from a checkbox array and passing that value to a javascript function? Link to comment https://forums.phpfreaks.com/topic/37740-passing-checkbox-array-values-to-javascript-from-php/ Share on other sites More sharing options...
fenway Posted February 9, 2007 Share Posted February 9, 2007 Where's the "from PHP" part of the question? Link to comment https://forums.phpfreaks.com/topic/37740-passing-checkbox-array-values-to-javascript-from-php/#findComment-180670 Share on other sites More sharing options...
shivam0101 Posted February 10, 2007 Author Share Posted February 10, 2007 From php - (checkbox are created dynamically). whenever a user unchecks a checkbox, i want to send that checkbox id to a js function. Link to comment https://forums.phpfreaks.com/topic/37740-passing-checkbox-array-values-to-javascript-from-php/#findComment-181276 Share on other sites More sharing options...
fenway Posted February 10, 2007 Share Posted February 10, 2007 why not call a onclick whenever this.checked == false? Link to comment https://forums.phpfreaks.com/topic/37740-passing-checkbox-array-values-to-javascript-from-php/#findComment-181298 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.