[Javascript] Window.Close Method when Input Type="imake" .......

khondoker.huq at convergys.com khondoker.huq at convergys.com
Thu Apr 19 17:39:31 CDT 2001


I need to be able to close a JavaScript pop-up window when I am using any
of the Netscape Communicator 4.7x. If I use the following, the window.close
Javascript method works just fine. It also works just fine on MSIE 5.0.

<INPUT border=0  type="button" name="cancelRequest" src="images/cancelRequest.jpg" onClick="window.close()">

However, if I use the following, Netscape fails to close the window, but MSIE just works great.

<INPUT border=0  type="image" name="cancelRequest" src="images/cancelRequest.jpg" onClick="window.close()">

I need to be able to use the type="image" opton for one of the applications that I have been working on! ANy hint is really appreciated!

TIA.


--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.






More information about the Javascript mailing list