>From my experience it is always that people forget that these new UI
features, all created div and other elements in the current page to do what
they need.

Ok having said that, I am betting my bottom dollar that with what you are
returning to be displayed, doesn't contain any <html><body> etc html tags.
This is important because the ColdFusion underneath the hood, needs these
tags to include the extra files etc that they need. And because the main
page is already loaded, ColdFusion can't add them to the current page, from
the page that is being loaded.

I hope that makes sense, there are two options you can try here and option 2
is my preferred method.

Option 1: return the html tags <html><body> etc, this would ensure that the
import the tag on the page, ColdFusion while generating the page can place
the needed code in the header of the page. Downside to this is that you end
up with a malformed dom, and will fail validators.

Option 2: Just place the import on the main page, this might seem overkill
if you are only going to use it once or twice. But the upside is that you
are generating valid html.


Regards,
Andrew Scott
http://www.andyscott.id.au/


> -----Original Message-----
> From: Steve Sequenzia [mailto:c...@thinksys.com]
> Sent: Monday, 11 April 2011 11:16 PM
> To: cf-talk
> Subject: Re: Javascript not working inside of cflayoutarea
> 
> 
> Andrew,
> 
> Thanks for the response.
> 
> I fixed the functions to this format - funcName = function() {};. All of
the
> scripts are in separate files. Do I need to use cfajaximport scriptSrc or
can I
> just put the scripts into the CFIDE/scripts folder? I am confused how all
that
> works.
> 
> Thanks again.
> 
> -Steve
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:343643
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to