• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help required

 
shallu_b
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic