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

TomMallard mallard at serv.net
Thu Apr 19 18:46:45 CDT 2001


<a href="#" onclick="window.close();"><img src="images/cancelRequest.jpg"
name="cancelRequest"></a>

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


>
> What did you mean by "using an image wrapped in an anchor tag and use that
> click event."? Could you please give me an example or something?
>
> Thanks a lot, Tom!
>
> ---------------------- Forwarded by Khondoker Huq/CIMG/CVG on 04/19/2001
> 07:24 PM ---------------------------
>
>
> "Tom Mallard" <mallard at mallard-design.com>@LaTech.edu on 04/19/2001
> 07:29:17 PM
>
> Please respond to javascript at LaTech.edu
>
> Sent by:  javascript-admin at LaTech.edu
>
>
> To:   <javascript at LaTech.edu>
> cc:
> Subject:  Re: [Javascript] Window.Close Method when Input Type="imake"
>       .......
>
>
> 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
> >
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>
>
> --
>
> 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