diff --git a/index.html b/index.html index feb64bbe..fd361b00 100755 --- a/index.html +++ b/index.html @@ -324,6 +324,7 @@ $("#e10_3").select2({
  • Remote/AJAX Data
  • Infinite Scrolling of Remote/AJAX data
  • Pragmatic control
  • +
  • Events: Change
  • Documentation
  • @@ -540,7 +541,54 @@ $("#e10_3").select2({ +
    + +
    +

    Change Event

    + +

    Select2 triggers the change event on the original element whenever its value is changed by + the user

    + +

    + +

    + +

    +
    +
    +

    Example Code

    +
    +           
    +
    +
    + + + + + + + +
    @@ -746,28 +794,18 @@ $("#e10_3").select2({ Example:
    alert("Selected value is: "+$("#e8").select2("val")); $("#e8").select2("val", {id:"CA", text:"Califoria"});
    - +
    diff --git a/select2-master b/select2-master index 538c6d15..26982e19 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 538c6d15848f87d25878dd0fea38233d6396a417 +Subproject commit 26982e19523ea9f547f60bea8172839b34b985b2