homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Using Javascript from an HTC File that's Defined in the Parent
An HTML Component (HTC) question

10+ Year Member

Msg#: 245 posted 9:43 pm on Dec 11, 2002 (gmt 0)

I have an HTC file that i'm attempting to reference a function contained within another page (the page that utilizes the behavior).

Although my HTC file can easily manipulate items (eg: spans, form elements, etc) using conventions like
"parent.document.all['holder'].value = 'tito';", i can't seem to access functions on that page using something like:

Any idea how to utilize functions that exist outside the HTC file itself?


<sorry, no emails in signatures>

[edited by: tedster at 4:48 am (utc) on Dec. 12, 2002]



WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 245 posted 5:08 am on Dec 12, 2002 (gmt 0)

HTML Components (HTC files) are IE specific and I've never used them for that reason. But I do have a Microsoft page bookmarked as a reference "just in case":

Microsoft HTC Reference [msdn.microsoft.com]

I hope that's some help - it may at least help others who read this thread to get a handle on what HTC files are.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved