[jQuery] Re: Getting URL hash

2008-04-14 Thread Scott Trudeau
Not sure if there's a jQuery way ... this:

var hashAnchor = self.document.location.hash.substring(1);


Has worked for me...

Scott

On Mon, Apr 14, 2008 at 12:48 PM, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:


 Hi,

 Not sure if this is the right terminology, but what is the JQuery way
 to detect if, and then store in a variable, the URL's hash value,
 meaning anything coming after the #?

 Thanks, - Dave




-- 
--
Scott Trudeau
scott.trudeau AT gmail DOT com
http://sstrudeau.com/
AIM: sodthestreets


[jQuery] Re: Getting URL hash

2008-04-14 Thread Ariel Flesler

just location.hash.slice(1);

--
Ariel Flesler
http://flesler.blogspot.com

On 14 abr, 14:01, Scott Trudeau [EMAIL PROTECTED] wrote:
 Not sure if there's a jQuery way ... this:

 var hashAnchor = self.document.location.hash.substring(1);

 Has worked for me...

 Scott

 On Mon, Apr 14, 2008 at 12:48 PM, [EMAIL PROTECTED] 

 [EMAIL PROTECTED] wrote:

  Hi,

  Not sure if this is the right terminology, but what is the JQuery way
  to detect if, and then store in a variable, the URL's hash value,
  meaning anything coming after the #?

  Thanks, - Dave

 --
 --
 Scott Trudeau
 scott.trudeau AT gmail DOT comhttp://sstrudeau.com/
 AIM: sodthestreets