> //Set all the readOnly here before
>
> index = 0;
> for(i = 0; i < NrOfFields; i++)
> {
> if(field.readOnly != true)
> {
> document.form.field.tabIndex = index;
> index++;
> }
> else
> {
> // If you have to remove a tabIndex, you do it here... I don't
> // know how to do that, if you even can do it...
> }
> }
document.form.field.tabIndex = -1; // Remove tabindex
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com