Again, on the server side, write some JavaScript that set's the focus where
you want it.

> -----Original Message-----
> From: Mihir Sahu [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 1:17 PM
> To: [EMAIL PROTECTED]
> Subject: focusing back of a page
>
>
> Hi,
>     I have a focus problem in which I add dynamically text
> fields(each time I  add
> button is clicked, an extra field is added) in a form using
> JSP.  I call  a
> servlet(I do not use javascript to do it), which in turn a
> uses other objects to
> add it and finally,  I call the same JSP to display the form
> with the existing data
> and the extra text field.  The problem is that, when the add
> button is clicked, it
> goes to the top of the page.  The user want it to stay at the
> same place.  Is there
> anyway to refocusing back to the same place.  Any help is
> really appreciated.
> Regards
> Mihir
>
> ==============================================================
> =============
> 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://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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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