Trigger change event manually

1 Answer 13957 Views
DropDownList
Jacob
Top achievements
Rank 1
Jacob asked on 02 Jan 2012, 04:31 PM
Hello,

jQuery gives you the ability to trigger the change event manually.

Is this also possible for a kend drop down list? Right after my document ready a change event should be fired.

Regards,
Jacob
Enrique
Top achievements
Rank 1
commented on 14 May 2014, 07:52 PM

Hi Jacob, 
could you resolve the issue? I need the same functionality..
Regards

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 15 May 2014, 08:05 AM
Hello,

If you need to trigger a widget event, then you can use the corresponding trigger method. Here is an example showing how to use it:
var dropdownlist = $("#id").data("kendoDropDownList");
 
dropdownlist.trigger("change"); //this will trigger change event

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Jacob
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or