Hi, This is a bug for old version of strust 2, but fixed on 2.0.8 version.
You should create a solution with javascript. Presumably your js function is wrong. Probably your tag name is wrong. You should look its source code on browser for tags real name. Okan. On Feb 8, 2008 3:32 PM, Johnson nickel <[EMAIL PROTECTED]> wrote: > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >