public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<html><head><title>Test</title>
<!-- jQuery 1.8.x -- using whatever is newest -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<!-- Using the latest Uniform from the develop branch -->
<link rel="stylesheet" href="https://raw.github.com/pixelmatrix/uniform/develop/themes/default/css/uniform.default.css" media="screen">
<script src="https://raw.github.com/pixelmatrix/uniform/develop/jquery.uniform.js"></script>
<script>
// Uniform every form element
$(function () {
21$('input, select').uniform();
$('form').on('reset', function () {
setTimeout($.uniform.update, 1);
});
});
</script>
</html>
<body>
<div>Browser: <script>document.write(navigator.userAgent)</script></div>
<!-- This form posts to a request inspector to ensure variables are being sent to the server -->
<form method="post" action="http://api.rumkin.com/watson/">
<input type="text" />
<select>
<option>first</option>
<option>second</option>
<option>third</option>
</select>
<button type="reset">reset</button>
</form>
</body></html>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.