Ok - how would I do that?  could I use the window.opener object like
"window.opener.form[index]"  type syntax to add?

I would need to be able to append a new item to an existing select box. The
"value" would be an int and the text would be a string.  In other words, in
html:  <option value="3">My pet shop</option> - I have to be able to set
both of these items. I'm sure it's possible, but I've not done it before.

-mk


-----Original Message-----
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 8:56 AM
To: CF-Talk
Subject: RE: Slight OT: JavaScript Help


Why do you want to refresh the window?

Why not just have javascript pass the values back to the form and close
the top window?

-----Original Message-----
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:45 AM
To: CF-Talk
Subject: Slight OT: JavaScript Help


Folks,

Some JavaScript guru out there can answer this in a second.  I have a
form window with a link that "pops up" a simple form to add some piece
or pieces of data to a lookup table.  When the user is done adding, I
want them to click a button and have the window close - and the page
behind it refresh. I can close the window no problem
(onclick='window.close()') - but I cannot figure out how to get the
original page to refresh. Of course cflocation doesn't help me because
it puts the page into the "pop-up" window, which I want to get rid of
after the add operation. Anyone have a quick solution to this?

-mk




______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to