SHARE
TWEET

Untitled

a guest Jun 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. function getValue()
  3. {
  4.  return 'videoYoutube.asp?lienYout='+document.getElementById("lienYoutube").value;
  5. }
  6. function setFormUrl()
  7. {
  8.  var url = vgetValue();
  9.  document.getElementById('testForm').setAttribute('action', url);
  10. }
  11. </script>    
  12.  
  13.  
  14.  
  15. <form id="testForm" method="get" action="#" onsubmit="setFormUrl()">
  16. <input type="text" id="lienYoutube">
  17. <input type="submit" value="Go">
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top