[thelist] javascript ignores "return false" in IE ?

Christian Heilmann lists at onlinetools.org
Thu Mar 3 17:31:12 CST 2005


Robert Vreeland wrote:

>Try:
><a href="javascript: swapImage(); return false;">
>or
><a href="#" onclick="return swapImage(); ">
>Note, your function will need to return false.
>  
>
Why  use a link at all? If that is supposed to be in a popup, it is 
rather useless to link it back to the homepage. If you rely on 
JavaScript for an effect, then create the elements via JavaScript, too...




More information about the thelist mailing list