OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Make DIV text editable
This page's ID:
11151
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
If you don't mind the format of your content and don't want a WYSIWYG editor, you can simply pick the innerTEXT or innerHTML of your DIV and insert it in a textarea and send it back to the DIV when you're done. If you want a WYSIWYG thiny, with Mozilla, the answer is [b][url=http://www.mozilla.org/editor/midasdemo/]MIDAS[/url][/b] ( see the [url=http://www.mozilla.org/editor/midas-spec.html]specs[/url] ). With IE the answer is [b][url=http://msdn.microsoft.com/workshop/samples/browser/webediting/onepageeditor.htm]ContentEditable + execCommand[/url][/b] ( see the infos about the [url=http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/contenteditable.asp]contenteditable attribute[/url] and the [url=http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/execcommand.asp]execCommand Method[/url] and the list of the various [url=http://msdn.microsoft.com/workshop/author/dhtml/reference/commandids.asp]Command Identifiers[/url] ) Hope that helps [url=http://www.p01.org/] [img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »