why doesn't this work in netscape 7??
<html>
<head>
</head>
<div name = "Hello" onClick = "alert(this.name)">Hello</div>
<body>
</body>
</html>
It works in ie but in netscape only if I use "id" instead of "name" and I can't use "id" because I used it for something else. Please help?
<html>
<head>
</head>
<div name = "Hello" onClick = "alert(this.name)">Hello</div>
<body>
</body>
</html>
It works in ie but in netscape only if I use "id" instead of "name" and I can't use "id" because I used it for something else. Please help?