How Can I Know If An Input Is Checked If I Only Know His Value?

Posted by Metal Sonic on Stack Overflow See other posts from Stack Overflow or by Metal Sonic
Published on 2010-05-25T07:49:23Z Indexed on 2010/05/25 7:51 UTC
Read the original article Hit count: 195

Filed under:
|
|

Hello here!

I have a dynamic input in my php code like this one:

<input type="checkbox" id="advantage[]" name="advantage[]" value="Special Option" />

And I need to know if it's checked... I can have multiple checks in the same format in the code, my brain hurts because i can't find a solution!

Thanks 4 the help!

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript