Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape problem

Status
Not open for further replies.

paragvshah

Programmer
Joined
Jan 11, 2001
Messages
109
Location
IN
Hi friends

I have some problem with this script it is working fine in IE 5.0+ but it does not work in NS 4.7.can somebody help me out. I am trying to call function on the onclick event from a image button before submitting the page.

<html>
<head>
<title>Untitled</title>
</head>
<body bgcolor=&quot;#99FF99&quot;>
<form name =&quot;form&quot; action=&quot;dosomeaction.htm&quot;>
<input type=&quot;image&quot; src=&quot;cart2.gif&quot; border=0 width=&quot;60&quot; height=&quot;19&quot; align=&quot;middle&quot; onClick=&quot;alert('hello')&quot;>
</form>
</body>
</html>
 
Hi
I tried the same HTML with Netscape 4.7 and it works fine. If you still have some problem, try using a <A HREF='javascript: onClickImage();'> Tag and use a Javascript in the HREF. This will work in any browser.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top