0

Where is a problem? I fire click event and nothing happens:

<button id="btn_test">Test</button>
$('#btn_test').kendoButton();
var btn = $("#btn_test").data("kendoButton");
$(btn).click() // nothing happens

2 Answers 2

0

Suggested method:

$(btn).trigger('click') 

does not work again, but this one does work:

$('#btn_test').trigger('click');
0
0

You have to use kendo object instead of jquery object:

btn.trigger('click')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.