This is a migrated thread and some comments may be shown as answers.

jquery binding on dropdown events

1 Answer 90 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
srikanth
Top achievements
Rank 1
srikanth asked on 17 Jan 2012, 10:43 PM
Jquery ".live()" does not seem to be working on 'valueChange' event of combo-box.

following is my code that doesn't work.
  $(this).find('.t-dropdown input').live('valueChange', function (e) {
       alert("combo box value changed");
        };
    });

Although, the same works when i change to jquery ".bind"
  $(this).find('.t-dropdown input').bind('valueChange', function (e) {
       alert("combo box value changed");
        };
    });

Note: I have upgrade Jquery and telerik controls.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 19 Jan 2012, 10:47 AM
Hi,

The jQuery live method does not work because the "valueChange" event does not bubble up and live relies on event bubbling.

Kind regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
ComboBox
Asked by
srikanth
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or