If the url of the page is:

  http://www.foo.com/bar.aspx?baz=blah#bottom

And the code is:

  var args = parseQueryString(document.URL);
  var paramValue = args.baz;

At this point paramValue is equal to "blah#bottom" instead of just "blah" as I would expect; the fragment identifier is included when present; is there another way to do this? Is my use of document.URL incorrect? Currently I am working around this with:

  parseQueryString(document.URL.split("#")[0]);

Thanks,
Jason Bunting

_________________________________________________________________
Communicate instantly! Use your Hotmail address to sign into Windows Live Messenger now. http://get.live.com/messenger/overview


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to