newtab = window.open('about:blank','_newtab' );
newtab.location.replace = ('http://www.yahoo.com/')
I need to open a new tab with a different domain. But the following error occured
instance_controller.js:184 Uncaught TypeError: Cannot read property 'location' of undefined
Why this is happening? Please give a solution.