Can a parent document which is the web page the user is on display a child
window which is a form for the user to fill out I want to pass to the child
window text information from the parent window that called the child the text
is a item number description and price. Can this be done without using the
frameset document model. What I want to do is call a function in the child
window and pass the data to it. After reciveing the data the function will
place the data in the proper object in the form. WE ARE HAVING TROUBLE WITH
making the parent window call the function in the child window. Can you show
me a example of how this can be done. THANKS

Re: Can a parent docoment call a function child window ! useing Frames by Steve

Steve
Thu Jun 02 18:22:38 CDT 2005

Frank,
You can pass the data to the child, and you can pass a function to the child, but the function has
to be called within the child

You would pass the data to the new window as a variable ( string ), and then have the function in
the child write the string to the element in the page.

That said, I've been sort of following what you're trying to do here, and I don't mean this to
dampen your enthusiasm, but you're heavily relying on javascript and to be honest, according to some
web statistics, 10 to 15% of people have javascript disabled in their browsers. For these people
your site won't function.

You may want to consider using a server side solution such as ASP to accomplish what you want.

If you need an ASP programmer, "in my humble opinion" Thomas Rowe, one of the MVP's is among the
best in the business. He's usually at the : microsoft.public.frontpage.client newsgroup



--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

"Frank H. Shaw" <FrankHShaw@discussions.microsoft.com> wrote in message
news:2F5BE934-3073-4BF1-ADB8-5A70EF5F9C63@microsoft.com...
> Can a parent document which is the web page the user is on display a child
> window which is a form for the user to fill out I want to pass to the child
> window text information from the parent window that called the child the text
> is a item number description and price. Can this be done without using the
> frameset document model. What I want to do is call a function in the child
> window and pass the data to it. After reciveing the data the function will
> place the data in the proper object in the form. WE ARE HAVING TROUBLE WITH
> making the parent window call the function in the child window. Can you show
> me a example of how this can be done. THANKS



Re: Can a parent docoment call a function child window ! useing Fr by FrankHShaw

FrankHShaw
Thu Jun 02 20:56:04 CDT 2005

Ok You can not call the function in a child window so when in the child
window after passing a string to the child what mechanism do you supose to
use to call the function? so the string can be processed. As far as the
browser java script being disabled will not real be a problem because the
user will just enter the information by hand.

"Steve Easton" wrote:

> Frank,
> You can pass the data to the child, and you can pass a function to the child, but the function has
> to be called within the child
>
> You would pass the data to the new window as a variable ( string ), and then have the function in
> the child write the string to the element in the page.
>
> That said, I've been sort of following what you're trying to do here, and I don't mean this to
> dampen your enthusiasm, but you're heavily relying on javascript and to be honest, according to some
> web statistics, 10 to 15% of people have javascript disabled in their browsers. For these people
> your site won't function.
>
> You may want to consider using a server side solution such as ASP to accomplish what you want.
>
> If you need an ASP programmer, "in my humble opinion" Thomas Rowe, one of the MVP's is among the
> best in the business. He's usually at the : microsoft.public.frontpage.client newsgroup
>
>
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed............
> ........................with a computer
>
> "Frank H. Shaw" <FrankHShaw@discussions.microsoft.com> wrote in message
> news:2F5BE934-3073-4BF1-ADB8-5A70EF5F9C63@microsoft.com...
> > Can a parent document which is the web page the user is on display a child
> > window which is a form for the user to fill out I want to pass to the child
> > window text information from the parent window that called the child the text
> > is a item number description and price. Can this be done without using the
> > frameset document model. What I want to do is call a function in the child
> > window and pass the data to it. After reciveing the data the function will
> > place the data in the proper object in the form. WE ARE HAVING TROUBLE WITH
> > making the parent window call the function in the child window. Can you show
> > me a example of how this can be done. THANKS
>
>
>

Re: Can a parent docoment call a function child window ! useing Fr by Stefan

Stefan
Fri Jun 03 03:44:30 CDT 2005

You will find the info on how to do it w/ JavaScript at http://irt.org/script/form.htm

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Frank H. Shaw" <FrankHShaw@discussions.microsoft.com> wrote in message news:C10BA07B-1839-4FA7-B438-1AFD48BA91BE@microsoft.com...
| Ok You can not call the function in a child window so when in the child
| window after passing a string to the child what mechanism do you supose to
| use to call the function? so the string can be processed. As far as the
| browser java script being disabled will not real be a problem because the
| user will just enter the information by hand.
|
| "Steve Easton" wrote:
|
| > Frank,
| > You can pass the data to the child, and you can pass a function to the child, but the function has
| > to be called within the child
| >
| > You would pass the data to the new window as a variable ( string ), and then have the function in
| > the child write the string to the element in the page.
| >
| > That said, I've been sort of following what you're trying to do here, and I don't mean this to
| > dampen your enthusiasm, but you're heavily relying on javascript and to be honest, according to some
| > web statistics, 10 to 15% of people have javascript disabled in their browsers. For these people
| > your site won't function.
| >
| > You may want to consider using a server side solution such as ASP to accomplish what you want.
| >
| > If you need an ASP programmer, "in my humble opinion" Thomas Rowe, one of the MVP's is among the
| > best in the business. He's usually at the : microsoft.public.frontpage.client newsgroup
| >
| >
| >
| > --
| > Steve Easton
| > Microsoft MVP FrontPage
| > 95isalive
| > This site is best viewed............
| > ........................with a computer
| >
| > "Frank H. Shaw" <FrankHShaw@discussions.microsoft.com> wrote in message
| > news:2F5BE934-3073-4BF1-ADB8-5A70EF5F9C63@microsoft.com...
| > > Can a parent document which is the web page the user is on display a child
| > > window which is a form for the user to fill out I want to pass to the child
| > > window text information from the parent window that called the child the text
| > > is a item number description and price. Can this be done without using the
| > > frameset document model. What I want to do is call a function in the child
| > > window and pass the data to it. After reciveing the data the function will
| > > place the data in the proper object in the form. WE ARE HAVING TROUBLE WITH
| > > making the parent window call the function in the child window. Can you show
| > > me a example of how this can be done. THANKS
| >
| >
| >



Re: Can a parent docoment call a function child window ! useing Fr by Steve

Steve
Fri Jun 03 06:23:15 CDT 2005

You use an onload event either in the opening body tag or in the script block in the page.

<body onload="function()">

window.onload = function;

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

"Frank H. Shaw" <FrankHShaw@discussions.microsoft.com> wrote in message
news:C10BA07B-1839-4FA7-B438-1AFD48BA91BE@microsoft.com...
> Ok You can not call the function in a child window so when in the child
> window after passing a string to the child what mechanism do you supose to
> use to call the function? so the string can be processed. As far as the
> browser java script being disabled will not real be a problem because the
> user will just enter the information by hand.
>
> "Steve Easton" wrote:
>
> > Frank,
> > You can pass the data to the child, and you can pass a function to the child, but the function
has
> > to be called within the child
> >
> > You would pass the data to the new window as a variable ( string ), and then have the function
in
> > the child write the string to the element in the page.
> >
> > That said, I've been sort of following what you're trying to do here, and I don't mean this to
> > dampen your enthusiasm, but you're heavily relying on javascript and to be honest, according to
some
> > web statistics, 10 to 15% of people have javascript disabled in their browsers. For these
people
> > your site won't function.
> >
> > You may want to consider using a server side solution such as ASP to accomplish what you want.
> >
> > If you need an ASP programmer, "in my humble opinion" Thomas Rowe, one of the MVP's is among the
> > best in the business. He's usually at the : microsoft.public.frontpage.client newsgroup
> >
> >
> >
> > --
> > Steve Easton
> > Microsoft MVP FrontPage
> > 95isalive
> > This site is best viewed............
> > ........................with a computer
> >
> > "Frank H. Shaw" <FrankHShaw@discussions.microsoft.com> wrote in message
> > news:2F5BE934-3073-4BF1-ADB8-5A70EF5F9C63@microsoft.com...
> > > Can a parent document which is the web page the user is on display a child
> > > window which is a form for the user to fill out I want to pass to the child
> > > window text information from the parent window that called the child the text
> > > is a item number description and price. Can this be done without using the
> > > frameset document model. What I want to do is call a function in the child
> > > window and pass the data to it. After reciveing the data the function will
> > > place the data in the proper object in the form. WE ARE HAVING TROUBLE WITH
> > > making the parent window call the function in the child window. Can you show
> > > me a example of how this can be done. THANKS
> >
> >
> >