Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 = '';
- }
Add Comment
Please, Sign In to add comment