>Hi,
>
>Is there any way to develop effetct of a tab control in javascript?
>Any suggestions/ pointers will be of great help.

I would like the answer to this question to,
for the moment I call the function nextItem in the
onChange command of a TextField, so when you press
'Enter' you go to the next field:

function nextItem(obj) {
   if (navigator.userAgent.indexOf("MSIE") == -1) {
      next = false;
      for (i = 0; i < obj.form.length; i++) {
             if (next) {
                    obj.form.elements[i].focus();
                    next = false;
             }
             if (obj.form.elements[i] == obj) {
                    next = true;
             }
      }
   }
}

With MSIE I have the problem that when you press
'Enter' the document is submitted. This is NOT what
I want!

>
>Thanks,
>Sandip


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
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

Reply via email to