Hi Vishwa...
I had faced a similar problem. But at that time I was using images instead of a button.
What I did was, I put an <a href = "#" ><img src....></a>.
This is how it worked in Netscape.
Try doing this on your button. It should work.
Anyways... let me know.....
Regards
Cherag
----- Original Message -----
From: Vishwa
Sent: Wednesday, May 10, 2000 3:26 AM
Subject: Problem with document.write().

Hello,

I have a javascript problem. The following code tries to write a word on
click of a button. But this works fine on IE but not on netscape.

<html>
<head>
<SCRIPT language="javascript">
function callclick() {
        document.write("bla");
}
</SCRIPT>
<title>TESTING</title>
</head>

<body>
<form>
<input type='button' value='click' ></input>
</form>
</body>
</html>

Anybody there ????

TIA,
vishwa

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to