Tuesday, June 29, 2010

Open new tab in browser using js

//open new tab with blank address
window.open('', '_blank', 'toolbar=0,location=0,menubar=0');

//open new tab with url
window.open('http://www.google.com', '_blank', 'toolbar=0,location=0,menubar=0');

0 comments: