Skip to content

Conversation

@jotto
Copy link

@jotto jotto commented Aug 17, 2011

if the input element is a checkbox, read and set the checked property instead of using jquery's val()

@jotto
Copy link
Author

jotto commented Aug 21, 2011

i just added a new pull request with another improvement that includes this change

@wulftone
Copy link

wulftone commented Dec 6, 2011

+1, just found this and it solved the checkbox problem for me. Nice addition!

@jotto
Copy link
Author

jotto commented Dec 6, 2011

I LIVE TO SERVE

@sfsekaran
Copy link

This worked like a charm for me, for a simple true/false checkbox situation.

@sfsekaran
Copy link

It worked for one usage of checkbox (booleans), but not another where we were using the $(input).val() as what we send to the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants