document.formname.buttonname.disabled This will work only for HTML buttons not for images. U can use DIV (in IE) TAGS to disable a particular part.
Sabari Arasu AIG - TCS Chennai India > -----Original Message----- > From: Mariappan Vaithianathan (CTC) [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 5:18 PM > To: [EMAIL PROTECTED] > Subject: Re: A Problem related to Buttons on JSP page. > > Use javascript! > > In IE, use document.formname.buttonname.disabled = true / false; > In netscape, it wudn't work. Return boolean values when the button is > clicked based on conditions. > > Rgds > Mariappan > Ph.: 6256437 Extn.: 321 > Mobile: 98410 60698 > > > > -----Original Message----- > > From: Rajeshwar Rao V [SMTP:[EMAIL PROTECTED]] > > Sent: Thursday, February 07, 2002 3:18 PM > > To: [EMAIL PROTECTED] > > Subject: A Problem related to Buttons on JSP page. > > > > Hi, > > > > I have a weird requirement... > > I have THREE buttons(they are images) on my JSP page which points > > to > > three different ACTIONS. Once I click on one of those buttons,other > button > > should be disabled automatically.How can i acfieve this? any help is > > appreciated..... > > > > Regards, > > Raj > > > > > __________________________________________________________________________ > > _ > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > > body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > __________________________________________________________________________ > _ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
