If you want to disable the field, you must set the "disabled" property
to true in JavaScript, but this taht is in the Html4 especs.(I don't
know in earlier versions), only works in IE5 (I don't know in earlier
versions). Other way colud be that before the client browser send the
data, your JavaScript aplication checks the fields you want to disable
and clean the data they contain.
Bye, Dani
----- Mensaje Original -----
De: Lorena Carlo <[EMAIL PROTECTED]>
Fecha: Mi�rcoles, Noviembre 8, 2000 4:14 am
Asunto: Javascript: How can I enable or disable a field in javascript
> Hi all,
>
> Can somebody, tell me how can I enable or disable a text box in
> javascript?
> Thanks in advance
>
> Lorena
>
>
========================================================================
===
> 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
>
________________________________________________________________
Consigue tu cuenta gratuita de acceso a internet y de correo en
http://www.navegalia.com
===========================================================================
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