Sending data from one HTML document to another
a2jfreak
Houston, TX Member
Say I have first.html and it has a text input box: <input type="text" name="blank">
Say I want to fill that box with "blah blah blah" found in second.html
How do I, from first.html, open second.html and send the data found there to the input box in first.html? (I don't want to reload first.html . . . I want the input box to be populated dynamically.)
Say I want to fill that box with "blah blah blah" found in second.html
How do I, from first.html, open second.html and send the data found there to the input box in first.html? (I don't want to reload first.html . . . I want the input box to be populated dynamically.)
0
Comments
THAT can be done remotely or by Java (or PHP, semistatic persistant session that does not quit on windows close, and temp session to choose address). Probably PHP call to Java applet, return result to compose routine as To filed entry... Could be a Java entry susystem, called by PHP, with the address picker a CLASS of function beans in same JAR as compose thing. Yahoo, like lots of majors, does use more than one language in sites.
Could also be data is a cookie push by chooser, and read by compose routine that chooser exits back to (chooser as subroutine or sepearate routine with cookie on client as data carrier-- address for email IS text....).
Or, they could do what Hotmail does, which is a melange of ASP+MSXML (aka aspx) with interlinked routines that pass vars back and forth. Some of those can be client side or server side activeX objects that behave somewhat like java miniapplets (Classes, in Java 2).
John D.
www.kwitko.net/form.php
//EDIT: Never mind. I got it backwards. You want to populate the input box with data from another page.
I'll keep digging.