T
techtarget
I have a DHTML application running on IE 6.0 that has a checkbox. When
the checkbox is checked and submitted, the value on the server-side
comes in as -1 or 0 (depending on whether it is true or false).
However, when I try to alert the checkbox value on the client side
(browser) using javascript, I get the values as either "true" or
"false". I need the values to come in as true/false on the server-side.
How can I control this, and why does this happen?
the checkbox is checked and submitted, the value on the server-side
comes in as -1 or 0 (depending on whether it is true or false).
However, when I try to alert the checkbox value on the client side
(browser) using javascript, I get the values as either "true" or
"false". I need the values to come in as true/false on the server-side.
How can I control this, and why does this happen?