Hi, let say that i have a div and i want to use a edit-in-place editor
for it.. it will have a "Click here to add". text in it, but i want it
to disappear with the user click on it(so that it will not be inside
the textarea) and reappear when the textarea is gone, provided the
field is empty.. How do i do this?



//html
<div id="editable">Click here to add</div>


//javascript
new Ajax.InPlaceEditor( 'editable', url);


Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to