2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Fires change event when element is selected from menu

This commit is contained in:
Pete Hopkins
2012-01-30 12:13:18 -05:00
parent 80d03e143c
commit 70fecd1115
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -40,6 +40,7 @@
, select: function () {
var val = this.$menu.find('.active').attr('data-value')
this.$element.val(val)
this.$element.change();
return this.hide()
}