Saturday, 24 June 2017

javascript - How to go to a URL using jQuery?

How to go to a URL using jQuery or JavaScript.



Go To URL

function goToURL(url){
// some code to go to url

}


I don't want to use window.location as I want to invoke this link from a popup.



New link should also open in a popup. I also don't want to use Ajax. Just simulate href in JavaScript.

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...