navigating to local anchor tag with JavaScript -
I'm trying to move an Intel XDK app Auto with ID = "page_6" to a new DIV when Function fails as follows:
var fail = function () {alert ("geolocation failed"); window.location = window.location + "# page_6"; }; However, the app does not go into the new DIV.
Any thoughts?
you window.location.href < code> window.location.href = window.location + "# page_6" By simply saying it to window.location (as in your example code) Uses works for me
Are you sure that your failed callback is being executed?
Comments
Post a Comment