jquery-ui/tests/unit/progressbar/progressbar_events.js
2009-09-11 18:47:34 +00:00

18 lines
270 B
JavaScript

/*
* progressbar_events.js
*/
(function($) {
module("progressbar: events");
test("change", function() {
expect(1);
$("#progressbar").progressbar({
change: function() {
same( 5, $(this).progressbar("value") );
}
}).progressbar("value", 5);
});
})(jQuery);