I am using this method to get the value of a query parameter:
FlowRouter.getQueryParam("s")
For a url such as http://someurl.com/app?s=123, the above code returns '123'. However, if the url is http://someurl.com/app?s=123#someid the above code returns 'undefined'.
The url change is instigated by clicking a bootstrap tab. This is importnat to mentino because if I simply type the full url in the browser and hit enter the getQueryParam() function returns the correct value.
How to I get the value of s in these circumstances?
I am using this method to get the value of a query parameter:
FlowRouter.getQueryParam("s")
For a url such as
http://someurl.com/app?s=123
, the above code returns '123
'. However, if the url ishttp://someurl.com/app?s=123#someid
the above code returns 'undefined
'.The url change is instigated by clicking a bootstrap tab. This is importnat to mentino because if I simply type the full url in the browser and hit enter the
getQueryParam()
function returns the correct value.How to I get the value of
s
in these circumstances?(Using Flowrouter 2.11.0, Meteor 1.3)