referencing an object in Netscape
I am having problem referencing an object in Netscape, in Explorer it works but not Netscape.
The following is the format of my code:
<layer ..>
..
<a href='http://www.webdeveloper.com/forum/archive/index.php/#" onClick="functionA()"...">
</layer>
<form ...>
..
<input type="text" name="celltext" ..>
..
..
</form>
</body>
</html>
In my functionA, I would like to hide the "celltext" text when a user clicks on a link.
Now my function is as follows:
function test(inForm) {
inForm.celltext.style.visibility ='hidden';
}
and when I call the function I pass the this.form parameter.
Thanks
I am having problem referencing an object in Netscape, in Explorer it works but not Netscape.
The following is the format of my code:
<layer ..>
..
<a href='http://www.webdeveloper.com/forum/archive/index.php/#" onClick="functionA()"...">
</layer>
<form ...>
..
<input type="text" name="celltext" ..>
..
..
</form>
</body>
</html>
In my functionA, I would like to hide the "celltext" text when a user clicks on a link.
Now my function is as follows:
function test(inForm) {
inForm.celltext.style.visibility ='hidden';
}
and when I call the function I pass the this.form parameter.
Thanks