Hello, I am new to this discussion but hope you would post reply for my query and encourage me to keep in touch with this discussion. Well here is my problem. I have made an edit in place form in which we can add and remove the elements. I have used jquery.jeditable.mini.js and jquery.duplicate-remove.js plugins for edit in place and add and remove action. I have live() function to access the dynamically ganerated elements like this.
$(".addressDiv span").live("mouseover", function(){ clickable function here...... ------------------------ }); Every thing looks fine untill i try to send the data to the database of the dynamicaly added element that has moved a place up after its preceding element was deleted. Now this sends the data to the to the old class reference. $("div:gt("+p+")").each(function(){ $("div:eq("+n+")").find('span').removeClass('plus'+m).addClass ('plus'+num); I have used this to update the classes. Hope to get the reply......... Sanam Maharjan.