mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
18 lines
308 B
JavaScript
18 lines
308 B
JavaScript
|
/*
|
||
|
* button_events.js
|
||
|
*/
|
||
|
(function($) {
|
||
|
|
||
|
module("button: events");
|
||
|
|
||
|
test("click-through", function() {
|
||
|
expect(2);
|
||
|
var set = $("#radio1").buttonset();
|
||
|
set.find("input:first").click(function() {
|
||
|
ok( true );
|
||
|
});
|
||
|
ok( set.find("label:first").click().is(".ui-button") );
|
||
|
});
|
||
|
|
||
|
})(jQuery);
|