JQuery Post and JEditable

I have a page on which a user would select an option from a drop down list which uses the (ajax) post function in jquery to run another asp page to fetch some data, create a table in html, then returns the html to the page.

I would like for a user to be able to click on the data to edit it, as you would using jeditable but I cannot seem to be able to get that too work.

I can attach the class to a normal paragraph on the page which works, but adding the same class to one of the cells from the ‘ajaxed’ data does not seem to work.

I have checked that js files have been properly linked but I am not sure where I am going wrong. I’m a bit of a novice and any help is appreciated.

The script that attaches the ability to edit onto elements with that special class name, only does it to elements that are current visible. It doesn’t happen to future elements that have the class name added to them.

As you’re using a library like jQuery, you can use live events where they monitor the page and attach themself onto newer matching elements.