Closed Thread Icon

Topic awaiting preservation: Updating values in a popup window? Pages that link to <a href="https://ozoneasylum.com/backlink?for=8717" title="Pages that link to Topic awaiting preservation: Updating values in a popup window?" rel="nofollow" >Topic awaiting preservation: Updating values in a popup window?\

 
Author Thread
Kaniz
Bipolar (III) Inmate

From:
Insane since: Jun 2003

posted posted 06-13-2003 22:47

I am working on a project for work, and I need it so when you click on a link, a popup window opens, and then update a fiew input values in the box. One way I could do this, is by using a query string when opening the new window, and pulling info out that way. But, rather not.

Is there any way to do like

newwin=open("blah.htm","somename","stuff);

and if blah.htm has

<input name="test" value="">

do

newwin.somename.value="this";

.. I've tried that, but I am getting errors.. can anyone help?

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 06-13-2003 23:16

you should be able to do

newwin.formName.inputName.value = "blah";



.:[ Never resist a perfect moment ]:.

wrayal
Bipolar (III) Inmate

From: Cranleigh, Surrey, England
Insane since: May 2003

posted posted 06-15-2003 19:16

Try this:
newwin=open("about:blank","replace");
newwin.document.write("hello")
Then you can just add whatever content you want like that.

Wrayal

Go to kimber-ja.demon.co.uk and click on the link to the raytracer! It's mine!

« BackwardsOnwards »

Show Forum Drop Down Menu