Closed Thread Icon

Topic awaiting preservation: execCommand() (Page 1 of 1) Pages that link to <a href="" title="Pages that link to Topic awaiting preservation: execCommand() (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: execCommand() <span class="small">(Page 1 of 1)</span>\

Obsessive-Compulsive (I) Inmate

Insane since: Aug 2003

posted posted 08-20-2003 19:46

Hello all .

I can bold selection with "document.execCommand("Bold");"
But , I couldn't bold selection text in <textarea> tag .

How can i do it ?
Thanx all friend .

Paranoid (IV) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 08-21-2003 09:19

In all the places I've seen that used it has been when you take a <div> and make it contenteditable, like this: <div id="writablediv" contenteditable="true">Text to edit here</div>
Havn't seen it in <textarea>

{cell 260}
-{ a vibration is a movement that doesn't know which way to go }-

« BackwardsOnwards »

Show Forum Drop Down Menu