1

On click of close button in action sheet I'm trying to create new tab. After it opens new popup in chrome. But when i try to open new tab from normal page, it opens in new tab.

window.open(url, "_blank");

But I want to open new tab instead on popup. Please help.

John Victor
  • 25
  • 1
  • 7
  • possible duplicate of [Chrome, Javascript, window.open in new tab](http://stackoverflow.com/questions/15818892/chrome-javascript-window-open-in-new-tab) – hahaha Oct 14 '14 at 07:32
  • please take a look into these q&a: http://stackoverflow.com/questions/15818892/chrome-javascript-window-open-in-new-tab http://stackoverflow.com/questions/4907843/open-a-url-in-a-new-tab-using-javascript – Sasa Oct 14 '14 at 07:32

1 Answers1

0

Instead of using window.open u can use this

<a href="#" target="_blank">Link</a>
PraveenKumar
  • 1,851
  • 12
  • 18