Skip to content

Instantly share code, notes, and snippets.

@fidian
Created January 8, 2013 22:43
Show Gist options
  • Save fidian/4488717 to your computer and use it in GitHub Desktop.
Save fidian/4488717 to your computer and use it in GitHub Desktop.
Test for uniform issue #267
<!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