SHARE
TWEET

openlody

a guest Apr 19th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var inputs = $('.centerContent input');
  2. var html = '';
  3. for(i = 0; i < inputs.length; i++){
  4.     var src = inputs[i].value;
  5.     html = html + '<a href="' + src + '" target="_blank">' + src + '</a>\n';
  6.     window.open(src, '_blank');  
  7. }
  8. console.log(html)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top