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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onClick and NN, what gives?

Status
Not open for further replies.

49er

Programmer
Aug 24, 2000
38
0
0
US
Does anyone have any idea as to why the following code will not function in NN? I mean this is about as simple as it gets. Thanks.
<HTML>
<HEAD>

<SCRIPT LANGUAGE = &quot;JavaScript&quot;>
function format() {
alert(&quot;Called format&quot;);
}
</SCRIPT>
</HEAD>

<BODY>
<DIV onClick=&quot;format()&quot;>
by Address
</DIV>


</BODY>
</HTML>
 
for give me if I'm wrong, but this only work in IE.
 
Yes, I believe that you are right. If anyone know definitively, please confirm. But it seems that NN 4.x only captures this event in response to form elements and the anchor tag.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top