Using the readonly or disabled properties in your HTML tags will work with
IE but not Netscape.  The only cross browser compatible solution I could
come up with was to use onfocus=this.blur() for every HTML element that I
wanted to be non-editable.  Unfortunately this is using JavaScript, but I
couldn't figure out another way of doing it that would work for all
browsers.

Mark


                -----Original Message-----
                From:   Anup Vachali [mailto:[EMAIL PROTECTED]]
                Sent:   Thursday, August 31, 2000 2:51 PM
                To:     [EMAIL PROTECTED]
                Subject:        Making a Field non-editable

                Hi!
                Could someone tell me what the best way is to make a field
non-editable
                using JSP... without using JavaScript.
                Thanks,
                Anup


===========================================================================
                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

Reply via email to