I am trying to a variable to a local page link so I'm trying this:
<a href="#mylink" data-toggle="tab" onclick="location.href=this.href+'?currentTab=mytab;';return false;">mylink</a>
This returns:
http://mysite.php#mylink?currentTab=myTab
Is there a way of stopping it from displaying the Hash? I just want it to show the variable.
For example:
http://mysite.php?currentTab=myTab