Here i have a URL in Browser Address bar i want to replace path of Address bar using jQuery. Some try from my side is as below Consider url as below
http://localhost/catID/10/itemID/20
when i run
history.pushState("CatID", "Title", "21")
it change location bar as
http://localhost/catID/10/itemID/21
but i want result as
http://localhost/catID/21
how can i do this using jQuery