Wed, 2007-06-06 02:04
How do we get around this:
a href="javascript:" /A
use on click?
Wed, 2007-06-06 02:31
#1
onmousedown?
onmousedown?
Wed, 2007-06-06 03:02
#2
So to clarify, you want to
So to clarify, you want to have a javascript onclick or something on a tag, to replace the a href.
why not have a null function like:
javascript:void(0);
?
Wed, 2007-06-06 03:37
#3
having "javascript:" in a
having "javascript:" in a href is deprecated. I was wondering what the official fix is. I am using a href=# onmousedown
Wed, 2007-06-06 07:26
#4
Moving to 'Off Topic' this
Moving to 'Off Topic' this isn't a CSS question, please choose appropriate sub forums for posts.
Hugo.
Wed, 2007-06-06 09:17
#5
Is it deprecated? Even if
Is it deprecated?
Even if not, its not very good practice to use it. It makes the page unusable by anyone without javascript or without javascript turned on. It is better to ensure there is initially a working link that will show content in a similar way to the results of the javascript.
Wed, 2007-06-06 11:29
#6
niclipse wrote:having
niclipse wrote:
having "javascript:" in a href is deprecated.
Can you link me to more information on this. It is news to me.