Page 1 of 1

Retrieve values that are checked

Posted: Fri Nov 05, 2010 9:08 am
by klevis miho
I have for example 10 rows in a html table and in the right part of each row is a checkbox.
How can I get only the rows which the checkbox is selected?

Re: Retrieve values that are checked

Posted: Fri Nov 05, 2010 9:24 am
by AbraCadaver
Only the checked checkboxes will be submitted and therefore available in the POST array, so you will only get the checked ones by default.