hi sudha,
i think it is because the cursor comes back to textBox after
the alert and hence onFocus is triggered second time.some time
it may lead to 'N' number of times.
one way to solve this is,set the focus to different component after the alert
or don't give alert on onFocus ,use some other events.
hope this helps ...
with regards,
rathna.
sudha wrote:
> hi all
> i have called a function in javascript which contains alert msg
> i have called it onFocus event of text box...
> the problem is:in netscape the alert msg is being called two
> times....in i.e it is o.k
> do give the solution for this problem it si urgent
> thanks in advance
> sudha
>
> ===========================================================================
> 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