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