Skip to content
Permalink
Browse files

Selectmenu: improved events.html demo

  • Loading branch information
fnagel committed Sep 30, 2011
1 parent eaece57 commit 40393353bb5866cb4bf3ae4069066dfb76596e7c
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/visual/selectmenu/events.html
@@ -24,13 +24,13 @@
$("<div/>").text( index++ + " Closed").prependTo(log);
},
focus : function(event, ui) {
$("<div/>").text( index++ + " Focused: " + ui.item.label).prependTo(log);
$("<div/>").text( index++ + " Focused: " + ui.item.label + " #" + ui.item.index ).prependTo(log);
},
select: function(event, ui) {
$("<div/>").text( index++ + " Selected: " + ui.item.label).prependTo(log);
$("<div/>").text( index++ + " Selected: " + ui.item.label + " #" + ui.item.index ).prependTo(log);
},
change: function(event, ui) {
$("<div/>").text( index++ + " Changed to: " + ui.item.label).prependTo(log);
$("<div/>").text( index++ + " Changed to: " + ui.item.label + " #" + ui.item.index ).prependTo(log);
}
});
});

0 comments on commit 4039335

Please sign in to comment.
You can’t perform that action at this time.