url rewriting - history.js remove query parameters from url -


i using history.js ajax website. 1 thing can not realise, how change url http://mysite/default.aspx?myparam=paramvalue http://mysite/ using history.pushstate?

how rid of default.aspx?myparam=paramvalue?

i tried `history.pushstate('','','/'); not work

thanks mates

did tried using history.pushstate('','','/'); http://mysite/ third function input (path parameter).

history.pushstate('ajax','title','http://mysite/'); example.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -