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

Issues with JQUERY append() function

2 Answers 61 Views
HTML5, CSS, JavaScript
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Allan
Top achievements
Rank 1
Allan asked on 03 Jun 2014, 07:08 AM
im triying to create dinamic content manually, but whenever i create a button using the function append of Jquery, it lose all functionality, i cannot use the onclick event for example.

Any help will be much apreciated

2 Answers, 1 is accepted

Sort by
0
Pavel Kolev
Telerik team
answered on 03 Jun 2014, 02:57 PM
Hello Allan,

Thank you for contacting us. The easiest way to attach events to dynamic elements is by using delegates - you can learn more about the technique here. If this does not solve your problem could you please send us an example so we can further investigate where the problem might be.

Regards,
Pavel Kolev
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
0
Michael
Top achievements
Rank 1
answered on 18 Jan 2016, 02:01 PM
I am having the same challenge. will try to use jquery event delegation :-)
Tags
HTML5, CSS, JavaScript
Asked by
Allan
Top achievements
Rank 1
Answers by
Pavel Kolev
Telerik team
Michael
Top achievements
Rank 1
Share this question
or