Skip to content

if the input element is a checkbox, read and set the checked property ins#24

Open
jotto wants to merge 1 commit into
codebrew:masterfrom
jotto:patch-1
Open

if the input element is a checkbox, read and set the checked property ins#24
jotto wants to merge 1 commit into
codebrew:masterfrom
jotto:patch-1

Conversation

@jotto

@jotto jotto commented Aug 17, 2011

Copy link
Copy Markdown

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

@jotto

jotto commented Aug 21, 2011

Copy link
Copy Markdown
Author

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

@wulftone

wulftone commented Dec 6, 2011

Copy link
Copy Markdown

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

@jotto

jotto commented Dec 6, 2011

Copy link
Copy Markdown
Author

I LIVE TO SERVE

@sfsekaran

Copy link
Copy Markdown

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

@sfsekaran

Copy link
Copy Markdown

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