So for example I have:
http://www.example.com/index.php#/parameter1=one/parameter2=two/
Now how should I update only the parameter1
's value?
So for example I have:
http://www.example.com/index.php#/parameter1=one/parameter2=two/
Now how should I update only the parameter1
's value?
location.href.replace(/#\/parameter1=\w*/, "#/parameter1="+NEW_VALUE)