Created
January 4, 2011 21:55
-
-
Save dustingetz/765513 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var valueElement = document.getElementById('attr' + i +'value_'); | |
| if (!wsptIsNull(valueElement)) | |
| { | |
| data.values[dataIndex].value = valueElement.value; | |
| //if this happens to be a checkbox, its returning "true" (string) always, | |
| //and not checking the checked state. valueElement.checked is the boolean i want | |
| } | |
| else | |
| { | |
| data.values[dataIndex].value = ''; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment