Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DHTMLedit - retrieving text
Message
From
13/03/2002 10:29:57
 
 
To
12/03/2002 14:18:40
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00631684
Message ID:
00632110
Views:
23
This message has been marked as the solution to the initial question of the thread.
Hi!

oDHTMLEdit.DOM.body.innerText

Remember that oDHTMLEdit.DOM is just a usual "document" object that you usually use in Java Script code on HTML pages. Starting from it you can access the entire objects model of all elements of the edited page, and even edit these elements on the fly that adds a lot more capabilities for editing than ExecCommand method of DHTML ActiveX gives. In the DHTML ActiveX, objects model is from IE. You can get help on all properties and objects in MSDN. For example, look for "BODY Element" in MSDN index and see help for all properties and methods of the body eement of the HTML content.

HTH.

>I'm using the DHTMLedit object and one thing I can't figure out is how to get the text value of it, i.e. without the HTML tags. Any help would be appreciated. Thanks!
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform