No dice. I even tried manually replacing the variable with the name of the
window like so and it still tells me it does not exist.
ColdFusion.Window.show('AddToCartWindow54276');
-----Original Message-----
From: Andrew Scott [mailto:[email protected]]
Sent: Thursday, February 07, 2013 6:32 PM
To: cf-talk
Subject: Re: CFWINDOW ID gets changed?
And this might not be obvious but is the text being passed to the callback,
does it contain any railing spaces?
On Fri, Feb 8, 2013 at 10:31 AM, Andrew Scott <[email protected]>wrote:
> Ok here is another test you can do.
>
> console.log(ColdFusion.Window.getWindowObject(*name*));
>
> And replace name with the name you want and see if an object is
> returned in the console.
>
>
>
>
>
> On Fri, Feb 8, 2013 at 10:29 AM, [email protected] <
> [email protected]> wrote:
>
>>
>> The ID number from the database row. All of them unique. The code for
>> the AJAX call runs and spits out the ID. Then I take that ID and add
>> it to the name of the prefix for the window
>>
>> var ConfirmWindow = "AddToCartWindow" + text;
>>
>> which gives me in this example the following
>>
>> AddToCartWindow54276
>>
>> Which is the name of the window it claims it cannot find.
>>
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm