struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip <yuensun...@yahoo.com>
Subject how to disable submit button when click on checkbox
Date Tue, 18 Nov 2003 04:02:21 GMT
I have a question regarding checkbox, how can I disable a certain submit button when click
on a checkbox? 
I tried the following but is not working:
<html:submit property="delete" value="Delete"/>
<html:checkbox property="ids" value="id" onclick="document.formName.delete.disabled=true"
/>
 
Also, is there a way I can count how many checkbox are selected in my jsp code? 
 
Please kindly help me.



---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message