jEditable with sAjaxSource / JSON results
jEditable with sAjaxSource / JSON results
supermango
Posts: 7Questions: 0Answers: 0
I am using DataTables with sAjaxSource
included in the results of the sAjaxSource are div elements with a class of "edit_area"
I want to make those div elements 'jEditable' but the problem is that "edit_area" elements do not exist until much later. I tried doing $('.edit_area').editable(....etc) but that is not working.
Then I attached a .live("click", function(){ makeEditable(id); });
But that is giving me some funky results.
Anyone encounter this problem before?
included in the results of the sAjaxSource are div elements with a class of "edit_area"
I want to make those div elements 'jEditable' but the problem is that "edit_area" elements do not exist until much later. I tried doing $('.edit_area').editable(....etc) but that is not working.
Then I attached a .live("click", function(){ makeEditable(id); });
But that is giving me some funky results.
Anyone encounter this problem before?
This discussion has been closed.
Replies
Regards,
Allan
http://i47.tinypic.com/9sxgdw.jpg
http://i49.tinypic.com/2lafn5u.jpg
on the first pic, when i click the "hello?test" area, the jEditable popsup but the text from the below it also appears. how do i fix this?
Allan