This would probably work:

$('a:not([href^=#])')

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jan 5, 2009, at 4:22 AM, Nikola wrote:


Hi,

I have a relatively simple question that I have been working on. I
would like exclude all anchors that point to named anchors within a
given page from a particular function.  What's the simplest way to
express this?

Anchors that don't have "#" as the first character in their
reference..
$("a:not "#" as the first character in their href").someaction

Any ideas?

Thanks much,
Nikola

Reply via email to