[jQuery] Re: Grabbing hash mark

2008-02-10 Thread Ryura
Oh, it occurred to me you might have wanted to find this for a link on the page instead of the current url in the browser. If that's the case, you would do something like this: var b = $('a').attr(href).split(#)[1];

[jQuery] Re: Grabbing hash mark

2008-02-10 Thread frizzle
Thanks a lot. I needed your first solution, my bad for not being clear enough. In the meanwhile i found location.hash.substring(1) elsewhere... Thanks again for your answers... Frizzle. On Feb 10, 4:39 pm, Ryura [EMAIL PROTECTED] wrote: Oh, it occurred to me you might have wanted to