The name attribute works the same as id for javascript.

David



From: [EMAIL PROTECTED]
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Javascript use of ID
Date: Thu, 6 Mar 2003 12:48:31 -0500

Hi,

My client browser in IE. So javascript needs ID in the tags like

<input type=button id=clickme value="clicked" onclick="fnSwitch()">

and the javascript would be something like

function fnSwitch(){
  clickme .disabled=false;
}


But when <html:text> or <html:button> tag does not allow id how do I do the
samething??


Regards
Rajesh J





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to