From b1949a3d3f11372ed07e05d5fa653ba29026de02 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Fri, 30 Mar 2012 14:06:52 -0700 Subject: [PATCH] catch up to master --- index.html | 70 ++++++++++++++++++++++++++++++++++++++------------ select2-master | 2 +- 2 files changed, 55 insertions(+), 17 deletions(-) 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