Window.Location Refreshes instead of Redirects
<p>I have a JQUERY function as follows</p>

<pre><code>this.getURL = function()
{
    var name = getName();
    alert("Menu.aspx?name"+name);
    //window.location = "Menu.aspx?name"+name;
}
</code></pre>

<p>When I alert the URL I am attempting to go to, it is correct. However, when I call window.location on that string, the page just refreshes without going anywhere.</p>

<p>I have similar code where I have used window.location and it works. I typed in the url into my browser and it works as well.</p>

<p>At worst (even if the URL was wrong), I was hoping that it would just redirect me to some URL. However, I can't get it to do anything other than refresh the current page.</p>

<p>Also to clarify, the page which calls this function is not Menu.aspx</p>

<p>Thanks in advance.</p>
