I have multiple text areas in my page (ActiveX DHTML edit control). When using the format toolbar, I would like to affect only the area the cursor is in or that has text highlighted. Any idea how I could do this in DHTML? Basically, what would I need to get a handle to the object that has focus...
I have used the DHTML edit control (IE5) to provide custom formatting with a text box in a htc file, but it doesn't seem to work in a html file.
I used:
document.EditCtrl.execCommand("Bold")
and
<OBJECT WIDTH=400 classid="clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.