Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Using Javascript from an HTC File that's Defined in the Parent


Egoz07 - 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:
parent.document.fncSplicer();
or
fncSplicer();

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

rob

<sorry, no emails in signatures>

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


Thread source:: http://www.webmasterworld.com/javascript/245.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com