Getting Checkbox Value in backend in java or php:
While sending checkbox value from front end HTML to java or php few thinks we need to take care.
1. unchacked checkbox value will not available in the backend(java/php)
2. unchecked checkboxattribute will not available in the java end. if there is a checkbox named 'chck1' and its not checked in the html end. it will not available in the java end. when you will write request.hetAttribute("check1"); it will through an error as these will not a attribute in the request array.
please add anything if i am missing.
While sending checkbox value from front end HTML to java or php few thinks we need to take care.
1. unchacked checkbox value will not available in the backend(java/php)
2. unchecked checkboxattribute will not available in the java end. if there is a checkbox named 'chck1' and its not checked in the html end. it will not available in the java end. when you will write request.hetAttribute("check1"); it will through an error as these will not a attribute in the request array.
please add anything if i am missing.
No comments:
Post a Comment