Anji V

Anji V

  • 1.8k
  • 98
  • 11.6k

How to open a url(CDN link) in new tab using jquery.

Apr 21 2017 10:47 AM
Hi,
anyone plz suggest me how to open a cloud link(url) in seperate tab using jquery. 
 
I have done below code , using the below code it downloads but not open a new tab..
 
{{ data.documentname }} 
 
 
vm.download = function (documentid, url) {
var win = window.open(url, '_blank');
win.focus();

Answers (3)