Guest User

Untitled

a guest
Jul 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. var valueElement = document.getElementById('attr' + i +'value_');
  2. if (!wsptIsNull(valueElement))
  3. {
  4. data.values[dataIndex].value = valueElement.value;
  5. //if this happens to be a checkbox, its returning "true" (string) always,
  6. //and not checking the checked state. valueElement.checked is the boolean i want
  7. }
  8. else
  9. {
  10. data.values[dataIndex].value = '';
  11. }
Add Comment
Please, Sign In to add comment