Skip to content

Instantly share code, notes, and snippets.

@lucasmazza
Created August 21, 2014 16:24
Show Gist options
  • Save lucasmazza/454fd635cfd8cd2d1445 to your computer and use it in GitHub Desktop.
Save lucasmazza/454fd635cfd8cd2d1445 to your computer and use it in GitHub Desktop.
jquery-ujs #385
<!doctype html>
<html>
<head>
<meta charset='UTF-8'>
<title>Page title</title>
</head>
<body>
<form action='http://google.com' method='GET'>
<input name='q' placeholder='Search it'>
<button data-disable-with='Googling...'>Go to Google</button>
</form>
<script src='//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'></script>
<!-- <script src='https://raw.githubusercontent.com/sobrinho/jquery-ujs/b0c9b1a1348f396056521e957bf0e55a581dca2b/src/rails.js'></script> -->
<script src='https://raw.githubusercontent.com/rails/jquery-ujs/master/src/rails.js'></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment