I am refreshing my page using jQuery:
location.reload();
This is working great but I want to refresh the same page by passing a parameter t
You should be able to accomplish this by using location.href
if(window.location.hostname == "www.myweb.com"){ window.location.href = window.location.href + "?single"; }