I did this same thing just recently on a project. What I did was have the pop-up
page's form call itself. In the code, I'd look to
see if the form had been called - no, build the form. Yes, perform whatever
inserts/updates I needed, then end the page with a bit
of Javascript. I don't recall 100% the exact code - I could find out though. But the
end basically was (inside <SCRIPT> tags)
window.opener.refresh;
window.self.close();
Now... instead of forcing a whole refresh... you could just add to the select item in
question... like
window.opener.document.formname.selectname.(rest of code)
should address that particular item, with 'formname' as whatever you've got your form
named, 'selectname' being the name of the
select item.
Right off the top of my head, I couldn't tell you what code, but you can add an option
to that select item...
Afterwards, like above, close the pop-up.
> -----Original Message-----
> From: Picker, Mark P [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 15, 2000 10:45 PM
> To: CF-Talk
> Subject: Refreshing a page other than the current one.
>
>
> Hi All,
>
> Hope someone can help. I have a CF page that has some select lists on it.
> You can click the add button next to one of these and a window pops up that
> allows you to add to the list. What I am after is when the user enters a
> new item, the list on the first page is refreshed.....is this possible?
>
> Cheers
> Mark Picker
> [EMAIL PROTECTED]
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
>message to
> [EMAIL PROTECTED] with 'unsubscribe' in the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.