Article View: comp.lang.javascript
Article #82Re: HREF and JavaScript - Newbie question
From: Nitin G. Mule g
Date: Mon, 23 Nov 1998 00:00
Date: Mon, 23 Nov 1998 00:00
51 lines
1756 bytes
1756 bytes
Does IE support <a href="javascript: myFunc()">whatever</a> ? (I know Netscape does). If not, what's the alternative for IE? Thanx, NGM. "IC" (duan@bossig.com) wrote: : ya : : <a href="javascript: myFunc()">whatever</a> : : or you can use an onmouseclick on the image or whatever. : : -- : Duan Nguyen : http://www.3-cities.com/~duan : : : : Greg Gagnaux <gagnaux@ibm.net> wrote in message : news:HS152.3235$%X5.8017200@newsgate.direct.ca... : >Now let me see if I can ask the correct question (I'm a total newbie : >to this) : > : >Is it possible to invoke a JavaScript function via an Image's HREF. : > : >ie : > : ><a href="somepage.asp" target="_top"><img : >src="../../images/formbuttons/save.gif" border="0" alt="Add a new : >incident step" WIDTH="47" HEIGHT="24"></a> : > : >but instead do something like this : > : ><a href=some JavaScript code target="_top"><img : >src="../../images/formbuttons/save.gif" border="0" alt="Add a new : >incident step" WIDTH="47" HEIGHT="24"></a> : > : > : >Thanks in advance! : > : > : >Greg Gagnaux : >Mindquake Software Inc : >ggagnaux@mindquake.com : > : > : > : :
Technical Details
Message-ID:
<F2wDEt.DCs@info.uucp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3654ad74.0@news-out2.newsnerds.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10731d,ce7f82810d209752 X-Google-Attributes: gid10731d,public X-Google-Thread: fb3cb,ce7f82810d209752 X-Google-Attributes: gidfb3cb,public From: mule2251@mach1.wlu.ca (Nitin G. Mule g) Subject: Re: HREF and JavaScript - Newbie question Date: 1998/11/23 Message-ID: <F2wDEt.DCs@info.uucp> X-Deja-AN: 414975630 Sender: news@info.uucp (news management) References: <3654ad74.0@news-out2.newsnerds.com> Organization: Wilfrid Laurier University Newsgroups: comp.lang.javascript,borland.public.intrabuilder.javascript