<html> <head> <script> function check() { alert("You are out of text box one"); } </script>
<script> function check1() { alert("You are out of text box two"); } </script> </head> <body> <form> <input type="Text" name="text1" value="" onblur=check()> <input type="text" name="text2" value="click" onblur=check1()> </form> </body> </html> Please run this code and tell me the solution. My problem is that this code works fine in IE but not in Netscape, It get into loop in Netscape when I press tab in first text box.Help needed urgently.
seems_josh
Greenhorn
Joined: Jan 06, 2001
Posts: 3
posted
0
actually what you are trying to do is not clear why don't u send me your actual requirement at seems_josh@yahoo.com may be i will prove a helpfull person seema
Originally posted by shallu_b: <html> <head> <script> function check() { alert("You are out of text box one"); } </script>
<script> function check1() { alert("You are out of text box two"); } </script> </head> <body> <form> <input type="Text" name="text1" value="" onblur=check()> <input type="text" name="text2" value="click" onblur=check1()> </form> </body> </html> Please run this code and tell me the solution. My problem is that this code works fine in IE but not in Netscape, It get into loop in Netscape when I press tab in first text box.Help needed urgently.
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
"shallu_b" and "seems_josh", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements. Thanks.