digiti0
09-13-2003, 06:29 PM
Attached is source for an asp program, plus a copy of the database in case you want to try to run it. the checkbox joreqlicense
<% if strJOReqLicense = "Y" then %>
<input type="checkbox" name="joreqlicense" checked>
<% else %>
<input type="checkbox" name="joreqlicense">
<% end if %>
License Required</div></td></tr>
dies whenever I comment out the following button, which is at the bottom of the code.
<input type="button" name="errorbutton" value="Show the error" onClick="display()">
Unless the button's in there, nothing happens when the checkbox is clicked. Then when I put the button back in, the checkbox works fine. Anybody have any idea why? I can't leave the button in.
Thanks a lot!
<% if strJOReqLicense = "Y" then %>
<input type="checkbox" name="joreqlicense" checked>
<% else %>
<input type="checkbox" name="joreqlicense">
<% end if %>
License Required</div></td></tr>
dies whenever I comment out the following button, which is at the bottom of the code.
<input type="button" name="errorbutton" value="Show the error" onClick="display()">
Unless the button's in there, nothing happens when the checkbox is clicked. Then when I put the button back in, the checkbox works fine. Anybody have any idea why? I can't leave the button in.
Thanks a lot!