This should replace all links with their link text:
$("a.noclick").each(function(){ $(this).replaceWith($(this).text());});
Thanks a lot to both of you. That was really helpfull and got the job
done. I've implemented CSS along with return false. There is no
dynamic content on the site but the above example is great for my
future reference
On Nov 7, 3:01 pm, Flesler <[EMAIL PROTECTED]> wrote:
> I don't see cursor:arrow
I don't see cursor:arrow working as expected, I tested in Firefox 2.
Here is my solution, it will even work for dynamically added links.
The cursor can be removed by css, that will always be faster than JS..
just add this
**
a{
text-decoration:none;/*
Yes.
return false won't make the link "unclickable", but it will prevent the
default action from occurring. You can do this to also remove the hand
cursor:
$("a").css('cursor','arrow').click(function(){
return false;
});
-Original Message-
From: jquery-en@googlegroups.com [mailto:[E
4 matches
Mail list logo