logo       

Deleting InPlaceEditor: msg#00099

lang.ruby.rails.spinoffs

Subject: Deleting InPlaceEditor

Howdy,

I have created several InPlaceEditor's for each of my menu items. This way i can easily rename them, however when i rename a menu item, it renames several id's in the document.
I then need to adjust an InPlaceEditor to point to the new id. It seems an inplaceeditor cannot be changed, so i have been tryiny to delete it, then create a new one.

How do i delete an InPlaceEditor? I thought it would be something simple like:

var ipe["menuItem1"] = new Ajax.InPlaceEditor( 'name, 'link', {} );
delete ipe["menuItem1"];

or ipe["menuItem1"] = null;

but no luck... I end up with two inplaceeditors showing up when i've only clicked once.

Thanks.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise