Created
January 8, 2013 22:43
-
-
Save fidian/4488717 to your computer and use it in GitHub Desktop.
Test for uniform issue #267
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="themes/default/css/uniform.default.css" type="text/css" media="screen"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
<script src="jquery.uniform.js"></script> | |
</head> | |
<body> | |
<form method=post action="#" onsubmit="return false"> | |
<button>I am a button</button> | |
<button class="disableMe">I am another button</button> | |
</form> | |
<script> | |
$(function(){ | |
$('button').click(function () { | |
alert('button click'); | |
}); | |
$('button.disableMe').attr('disabled', true); | |
$("button").uniform(); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment