dickey38 Posted March 5, 2010 Share Posted March 5, 2010 I have sample code that uses the constructwindow.navigate("someURL");It seems to operate likewindow.location = "someURL";But the window object doesn't seem to have a navigate method ( see http://www.w3schools.com/jsref/obj_window.asp )Any insights? Thanks Link to comment Share on other sites More sharing options...
Ingolme Posted March 5, 2010 Share Posted March 5, 2010 No, there's no navigate() method on the window object. The window.location object has several properties and methods that you can use for navigation. Link to comment Share on other sites More sharing options...
justsomeguy Posted March 5, 2010 Share Posted March 5, 2010 window.navigate is only supported on IE:http://msdn.microsoft.com/en-us/library/ms536638(VS.85).aspxTechnically though, you should be using window.location.href instead of window.location, as location is an object, not a string. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.