
Calling a function in parent
parent.document.forms[0].GetReportPermit(); // parentheses are required!
--
They called me mad, and I called them mad, and damn them, they outvoted
me. -Nathaniel Lee (on being consigned to a mental institution)
=-=-=
Steve
-=-=-
Quote:
> New to JScript I have the following problem:
> I can use
> "parent.document.forms(0).txtReportID.value=sRptID; "
> to put a value (sRptID) into a control on the parent form.
> I have a function called "GetReportPermit" on the parent form which I would
> like to run after txtReportID is populated.
> I've tried
> "parent.document.forms(0).GetReportPermit;" which does not work.
> Can anyone help me?
> Thanks,
> Suki.