View Full Version : window.location is not working

12-04-2010, 05:37 AM
i have problem with navigating to a new page from AJAX.
here a simple function which gives the alert msg but do not move to a new page:

function select_copyEntity(briefcaseQString, field)
var newURL = "";
newURL = "to_copy.php?" + briefcaseQString;
alert (newURL);
window.location = newURL ;

in beginning for login form, window.location worked correctly. can anyone help me?