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

Tom Mallard mallard at mallard-design.com
Thu Apr 19 18:29:17 CDT 2001


It's not honoring the click event for the image form element. Workaround is
to use an image wrapped in an anchor tag and use that click event.

tom
From: <khondoker.huq at convergys.com>
To: <javascript at LaTech.edu>
Sent: Thursday, April 19, 2001 3:39 PM
Subject: [Javascript] Window.Close Method when Input Type="imake" .......


>
> 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.
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>





More information about the Javascript mailing list