Skip to content

Instantly share code, notes, and snippets.

@fidian
Created February 5, 2013 14:48
Show Gist options
  • Save fidian/4714897 to your computer and use it in GitHub Desktop.
Save fidian/4714897 to your computer and use it in GitHub Desktop.
Uniform issue #280
<html><head><title>Test</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<link rel="stylesheet" href="https://raw.github.com/pixelmatrix/uniform/master/themes/default/css/uniform.default.css" media="screen">
<script src="https://raw.github.com/pixelmatrix/uniform/master/jquery.uniform.js"></script>
<script>
// Uniform every form element
$(function () {
$('input, select').uniform();
});
</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/">
<table><tr><td>
<input type="text" value="Try pressing enter">
</td></tr></table>
</form>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment