$(window).attr(‚location‘,’http://www.example.com‘)