JQUERY address.value remove # -


can tell me how can remove # value in adres bar in case of jquery.addres.value

this code in existing wordpress theme. have setted seo urls # still in url after click on menu item.

var path = (base + "/" != jquery(this).attr('href'))           ?jquery(this).attr('href').replace(base, "") : "/";  jquery.address.value(path);  

regards

try this,

var url=jquery(this).attr('href'); var temp=url.split('#'); url=temp[0]; jquery.address.value(url);  

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -