This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 14th, 2014  |  syntax: None  |  size: 0.58 KB  |  views: 171  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <html>
  2.   <head>
  3.     <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
  4.   </head>
  5.   <body>
  6.     <div>
  7.       <input id="txtTest" value="TESTDISABLE" type="button" autocomplete="off"/>
  8.       <input type="button" onclick="$('#txtTest').attr('disabled','disabled');" value="Set Disabled (jQuery)" />
  9.       <input type="button" onclick="location.href = 'http://www.google.ca';" value="Sudo-submit" />
  10.       <input type="button" onclick="$('#txtTest').removeAttr('disabled');" value="Remove Disabled" />
  11.     </div>
  12.   </body>
  13. </html>
clone this paste RAW Paste Data