Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing text within HTC Component

Status
Not open for further replies.

davem99

Programmer
May 19, 2003
74
US
Can someone tell me what the syntax is for accessing the underlying text/html in an HTC component?

On a certain site, there is an HTC grid control displaying data in a table. I need to be able to grab that info.

Any ideas?

thanks!
 
Dave,

I'd start by viewing the code for the component. That may give you some clues (find the URL by looking for 'behaviour' properties in the css file, and for <object> tags on the page). This may enlighten you as to where the data comes from, if not giving you the data itself.

To be quite honest, I'm not sure how else you could go about this. Maybe using the Microsoft Script Debugger, or the debugger that comes with Visual Studio (NN, Mozilla, and Opera don't support HTC/Scriptlet/Behavious, as far as I know).

Failing that, post a link to the 'certain site' and we'll have a look.

Incidentally, I'm just getting into HTC/Scriptlet code myself. It's pretty neat stuff (when properly implemented), although to be quite honest, using prototyping in Javascript gives you a lot of the functionality that is advantageous to writing HTCs.

Hope this helps,

Dan
 
Hi Dan,

I have the code which I've stared at for days now.....

It seems pretty well structured but my Java knowledge is as good as my Russian.......

Sadly can't post a link to the site because it requires a login and access is restricted yada yada yada.....

There's basically a ton of java includes that reference XMLDOM and it looks pretty hairy!!

I guess I'm stuck between a rock & a hard place.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top