Advertisement

04.23.2008 at 07:02PM PDT, ID: 23348966
[x]
Attachment Details

cflayout area strangeness

Asked by HyperBPP in Cold Fusion Markup Language, JavaScript

Ok, I'm experiencing some strange problems with cflayout areas.  Just for example, I attached some files with the problem.  So if you load up layoutTest.cfm, it loads and then myExample.cfm loads.  The alert() that runs when the page loads cannot find the myTestingDiv.  However, if you press the button then myTestingDiv is found.

Now if you just load up myExample.cfm by itself, myTestingDiv is found both by the alert that fires as soon as the page renders and the test button.

I assume some strangeness goes on when the layout area makes the ajax call.  I've tried placing defer, but that does nothing.  

The attached files should be .cfm, but wouldn't allow me to load them.

Any help?Start Free Trial
Attachments:
 
should be .cfm
 
 
should be .cfm
 
[+][-]04.27.2008 at 12:55AM PDT, ID: 21448473

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 09:43AM PDT, ID: 21480269

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cold Fusion Markup Language, JavaScript
Sign Up Now!
Solution Provided By: HyperBPP
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628