aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-09-30 21:17:46 +0200
committerFelix Nagel <info@felixnagel.com>2011-09-30 21:17:46 +0200
commit40393353bb5866cb4bf3ae4069066dfb76596e7c (patch)
treed1c1885a59a1dfb556875faa9396502e0900866f
parenteaece574bda3d9334a9b7b55b4a1e9e0c714bab2 (diff)
downloadjquery-ui-40393353bb5866cb4bf3ae4069066dfb76596e7c.tar.gz
jquery-ui-40393353bb5866cb4bf3ae4069066dfb76596e7c.zip
Selectmenu: improved events.html demo
-rw-r--r--tests/visual/selectmenu/events.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/visual/selectmenu/events.html b/tests/visual/selectmenu/events.html
index 0d5e3ee67..8c4da5fb1 100644
--- a/tests/visual/selectmenu/events.html
+++ b/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);
}
});
});