struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johnson nickel <sarava...@elogic.co.in>
Subject using disabled attributes in <s:submit> tag
Date Fri, 08 Feb 2008 13:32:13 GMT

Hi all,

           How to use enable and disable attributes in <s:submit
value="save" method="save" name="savebutton" disabled="true"> but it's not
working. 

   what wrong with this, i tried onclick event using html  drop down 
<select name="user_id"  size="9"  STYLE="width:-300px" align="left"
onclick="javascript:enable();"> .

  // Javascript function

 function enable()
{
  formname.savebutton.disabled="true"
}

    Give me a suggestion for this problem.

Regards,
Johnson
-- 
View this message in context: http://www.nabble.com/using-disabled-attributes-in-%3Cs%3Asubmit%3E-tag-tp15355261p15355261.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message