0

Folks,

I am using jquery datatable plugin, in this an advanced grid automatically gets created with rows in table. Now I am getting problem when I dynamically add rows to this table. Actually, I am having image in one of of this table, on click of which I open a popup. Here what my problem begins, In my application, user edits values of table row and to reflect them in actual table I have user html() function of jquery. In this I have again created image in which was previously there. but the popup action gets removed(which I have added on onclick event). Please help me with this??

Thanks in advance, Rahul

1 Answer 1

1

Change the onclick handler for your image to use Live Events

I can give you a more specific answer if you post the jQuery code that you are using for adding the rows.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.