desertwind
Cyborg Agent
I want to call a js function on the onClick event of a checkbox, which is written inside an asp snippet.
this is the code
Response.Write "<input type=checkbox name=idxModify checked=true value='"&objRS("ID")&"' onClick="checkValue()" >"
it gives me "unexpected end of statement" error by asp.
I also tried
Response.Write "<input type=checkbox name=idxModify checked=true value='"&objRS("ID")&"' onClick='"checkValue()"' >"
Still seems not working. Any clues ?
this is the code
Response.Write "<input type=checkbox name=idxModify checked=true value='"&objRS("ID")&"' onClick="checkValue()" >"
it gives me "unexpected end of statement" error by asp.
I also tried
Response.Write "<input type=checkbox name=idxModify checked=true value='"&objRS("ID")&"' onClick='"checkValue()"' >"
Still seems not working. Any clues ?