document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <script>
  2. function sub() {
  3.     console.log(\'sub function\');
  4.     $("#fquery").submit();
  5. }
  6. </script>
  7. <form id="form1" action="/final" method="post">
  8.  <input id=\'query\' type="text">
  9.   <button type="submit" onClick=\'sub()\'>Submit &raquo;</button>
  10. </form>
');