T
Ted Byers
If I understand the FAQ correctly, I can't access the contents of one
frame from another frame if they're from different frames.
I believe I can access the contents of a field using what looks like
"document.dialer_form.comments.value"
The dialer is from one domain, and I have created a cgi script that
creates the contents of a second frame. Actually, my prototype web
page has two frames, one of which has a search engine that invokes my
cgi script to produce the contents of a second frame. But right now,
my colleagues that have to use these pages have to have one browser
connected to the dialer's web page, and a second connected to my page,
and they have to copy the contents of one field in the dialer's page
and paste it into a field in my search engine, and pres submit to get
the rest of the data they need. I want to make this faster,
automatic, to reduse the chances of human error. So I thought I would
try to load the dialer's page into a new, third, frame in my page, and
create an event handler so that when the contents of that one field in
the dialer's web page changes, the value is automatically submitted to
my search engine.
If I can't access the contents of a control in the contents of one
frame from another from a different domain, can I do so from the
frameset page that places that content into a frame it contains, to
add the appropriate parameter to the SRC attribute of the other
frame? And if the correct name of the control is what I gave above,
how would that name change if I try to access it from a frameset or
frame that needs it?
If the info I need is in one or more FAQ's, please provide the URL
that will lead me to it. I have been searching through the FAQ at
http://jibbering.com/faq, but I may have missed queries that would be
relevant.
NB: while I have written very little Javascript, I have extensive
experience using Java, C++, Perl, JSP/JSF, ... I am just faced with
an issue now that isn't so easily addressed using the languages I
know.
Thanks in advance for your aide.
Ted
frame from another frame if they're from different frames.
I believe I can access the contents of a field using what looks like
"document.dialer_form.comments.value"
The dialer is from one domain, and I have created a cgi script that
creates the contents of a second frame. Actually, my prototype web
page has two frames, one of which has a search engine that invokes my
cgi script to produce the contents of a second frame. But right now,
my colleagues that have to use these pages have to have one browser
connected to the dialer's web page, and a second connected to my page,
and they have to copy the contents of one field in the dialer's page
and paste it into a field in my search engine, and pres submit to get
the rest of the data they need. I want to make this faster,
automatic, to reduse the chances of human error. So I thought I would
try to load the dialer's page into a new, third, frame in my page, and
create an event handler so that when the contents of that one field in
the dialer's web page changes, the value is automatically submitted to
my search engine.
If I can't access the contents of a control in the contents of one
frame from another from a different domain, can I do so from the
frameset page that places that content into a frame it contains, to
add the appropriate parameter to the SRC attribute of the other
frame? And if the correct name of the control is what I gave above,
how would that name change if I try to access it from a frameset or
frame that needs it?
If the info I need is in one or more FAQ's, please provide the URL
that will lead me to it. I have been searching through the FAQ at
http://jibbering.com/faq, but I may have missed queries that would be
relevant.
NB: while I have written very little Javascript, I have extensive
experience using Java, C++, Perl, JSP/JSF, ... I am just faced with
an issue now that isn't so easily addressed using the languages I
know.
Thanks in advance for your aide.
Ted