Created
December 18, 2012 15:09
-
-
Save fidian/4328801 to your computer and use it in GitHub Desktop.
Test for uniform bug 265
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 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 () { | |
$('input, select').uniform(); | |
}); | |
</script> | |
</html> | |
<body> | |
<!-- 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/"> | |
<div class="span10 control-group" id="bill-country-control-group"> | |
<label for="bill-country">Country</label> | |
<select name="bill_country" id="bill-country"> | |
<option value="USA">United States of America</option> | |
<option value="AFG">Afghanistan</option> | |
</select> | |
<span class="help-inline" id="bill-country-error-message"></span> | |
</div> | |
<input type="submit" value="Submit Form"> | |
</form> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment