give it a name and set the disabled property to true, like:
document.myForm.myCombo.disabled = true;
if you use layer you'll have to change the syntax according to the prowser,
otherwise it works both on IE & NN
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of rahul jadhav
Sent: Wednesday, May 03, 2000 9:14 AM
To: [EMAIL PROTECTED]
Subject: how to disable combo in javascript
Hi,
i'm doing application in jsp.In that i want to disable
combo when focus is in text-box.
when text-box looses focus,again want to enable combo.
it must be on client side so is there any way to go
around this problem in javascript.
thankx in advance.
rahul.
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets