97
rated 0 times
[
100]
[
3]
/ answers: 1 / hits: 30628
/ 8 Years ago, thu, march 31, 2016, 12:00:00
In my website blog pages added query string in that page URL. I wanted to remove the query string from the URL. So i used to go with jquery and i wrote and added into my scripts. It removes the query string but keep on refreshing the page upto nth time. I used to one jquery method. That also doesn't work.
Can you help me
My Script is
jQuery(document).one('ready',function(){
window.location.href = window.location.href.split('?')[0];
});
More From » jquery