Re: using href="#" vs href="javascript:func()" ?
- From: Randy Webb <HikksNotAtHome@xxxxxxx>
- Date: Mon, 17 Jul 2006 17:45:00 -0400
kelvlam said the following on 7/17/2006 5:19 PM:
Hello,
I'm a new begininer with JavaScript. I'm trying to figure out which is
the best approach, and to understand the differences between them.
Did you try finding an FAQ for this group? This question is covered in it.
<URL: http://jibbering.com/faq/#FAQ4_24>
I have a <A> element that's suppose to either launch a popup window, or
it will link you to some dynamic created page.
I have declared a global JavaScript function
function showStatus(sMsg)
{
window.status = sMsg ;
return true ;
}
What makes you think that function does anything?
I know there are 3 ways to create this <A> tag
There is, at least, one more way.
<snip>
Can some JavaScript expert and Guru shed some light to this newbie
please? :-)
See Above.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
.
- Follow-Ups:
- Re: using href="#" vs href="javascript:func()" ?
- From: kelvlam
- Re: using href="#" vs href="javascript:func()" ?
- References:
- using href="#" vs href="javascript:func()" ?
- From: kelvlam
- using href="#" vs href="javascript:func()" ?
- Prev by Date: Re: Implementing a lite Feed Reader
- Next by Date: Re: Remove the Body Onload EventHandler !!
- Previous by thread: using href="#" vs href="javascript:func()" ?
- Next by thread: Re: using href="#" vs href="javascript:func()" ?
- Index(es):
Relevant Pages
|