Yes, multiple instances are being created. Your stackoverflow solution doesn't work for me. The elements to be inplace edited don't exist when the dom is loaded and may not ever exist.
I'm using a tab control, when the tab is activated an ajax call is made and some html is returned. In this particular case its a table. I also have tried this... (unfortunately the available methods are not clearly documented or rather not documented at all). function editName(element, id) { if(inpl_desc == null) { inpl_desc = new Ajax.InPlaceEditor(element, 'inpl_ajax.php', { okText: " Save ", cancelControl: "button", rows: 5, cols: 40, callback: function(form, value) { return 'id=' +id + '&desc='+encodeURIComponent(value) }, onEnterEditMode: function(form, value) { // custom code goes here... }, onLeaveEditMode: function(form, value) { // custom code goes here... } }); } else inpl_desc.enterEditMode('click'); } -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scriptaculous+unsubscr...@googlegroups.com. To post to this group, send email to prototype-scriptaculous@googlegroups.com. Visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. For more options, visit https://groups.google.com/groups/opt_out.