hi,
I am using <html:checkbox....tag for my checkbox, I get the value of it true or false from a Object dynamically..shown below
I am able to set its value as true or false, but not able to show it on the jsp as checked, Could anyone tell how I can show it as checked using javascript.
thanks in advance.
I am using <html:checkbox....tag for my checkbox, I get the value of it true or false from a Object dynamically..shown below
Code:
<html:checkbox property="trafficSignals" disabled="false" value='<%= home.getTrafficSignals() ? "true" : "false" %>'/> Traffic Signals<br/>
I am able to set its value as true or false, but not able to show it on the jsp as checked, Could anyone tell how I can show it as checked using javascript.
thanks in advance.