Anything after the # can be picked up by calling History.getToken() method.
On Sep 10, 12:30 pm, Pion <[email protected]> wrote: > I just sawhttp://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax > which mentions about the "#" sign. > > How do I retrieve the value of FOO which includes on this > URL:http://localhost:8080/get?FOO=BAR#123" ? > The result/value of FOO should be "BAR#123". > > On Sep 10, 8:56 am, Pion <[email protected]> wrote: > > > Thanks. Window.Location.getParameter("FOO"); works. > > > What does the "#" mean? > > I use ""http://localhost:8080/get?FOO=BAR#" but > > Window.Location.getParameter("FOO") does not pick up the "#" sign. > > How do I retrieve the "#" as well? > > > Again, thanks. > > > On Sep 10, 8:17 am, Ian Bambury <[email protected]> wrote: > > > > But you probably don't want to be doing that because if anything between > > > the > > > ? and the first # changes, your whole app will reload from scratch and > > > you'll lose all state.. > > > > Ian > > > >http://examples.roughian.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
