Yes. Here is how it is working:
Click on a link to open an edit page, click on edit page, goes to
confirmation page. Click on button, should go back to parent page.
On 4/5/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
> so just to clarify/confirm... the button and the JS are in a popup window?
>
> On 4/5/07, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> > I have a very simple piece of JS:
> >
> > <SCRIPT language=JavaScript>
> > <!--
> > function win(){
> > window.opener.location.href="AddCandidate.cfm";
> > self.close();
> > //-->
> > }
> > </SCRIPT>
> >
> > When I click on the button with the onClick event:
> >
> > <input type="button" name="back" value="Back To Previous Page"
> > onClick="win();" />
> >
> > I get the message window.opener.location is null or not an object.
> >
> > I also tried to put single quotes on the window.opener ('
> AddCandidate.cfm').
> >
> > I googled it and the answers I found did not seem to help.
> >
> > Thanks,
> >
> > --
> > Bruce Sorge
> >
> > "I'm a mawg: half man, half dog. I'm my own best friend!"
> >
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274616
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4