You might send all your edit requests through a GIF file, then read the
cookie response to determine the action you want to take upon
completion.  This can be done with one page and no pop-up at all.
Here's an article of mine describing on way and linking to several
others:

http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/G
IFAsPipe/Index.cfm

Jim Davis

> -----Original Message-----
> From: James Blaha [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, February 14, 2003 12:27 PM
> To: CF-Talk
> Subject: Application ? For JavaScript?
> 
> 
> Hello CFers
> 
> I think this should be a simple question. I have an 
> application that has 
> a result set and the users can delete a row by clicking a 
> delete option 
> at the end of each row. When they do this they are 
> essentially opening 
> up a popped up template that runs some SQL that deletes the 
> record and 
> gives them a HTML message. In that template that deletes the 
> records at 
> the end I run a script that refreshes the opening window so 
> the result 
> setup now shows the right information.
> 
> <!--- Note: The opener option will refreshs the referring 
> pages result 
> set. --->
> <script>
> opener.location.reload();
> </script>
> 
> My question is: Is there a way to just have a JavaScript pop up that 
> says that the record has been deleted without the user seeing a blank 
> template page open thats doing the processing?
> 
> Regards,
> James Blaha
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to