dimmoro
02-22-2007, 02:21 PM
Hi,
I'm loading php pages into a DIV using the update command.
var myDiv = getEL('myDiv');
myDiv.update('loadPage.php');
This works wonderful; php pages get evaluated and loaded into the DIV.
If there are javascripts on the loadPage.php, does that get evaluated?
Attempting to load a "complex layout" (based on the documented example) into the DIV.
Would you advise, to rip the layout script out of the 'loadPage.php' and place it into the main; using a callback on the main to "link" the elements?
Thank you.
I'm loading php pages into a DIV using the update command.
var myDiv = getEL('myDiv');
myDiv.update('loadPage.php');
This works wonderful; php pages get evaluated and loaded into the DIV.
If there are javascripts on the loadPage.php, does that get evaluated?
Attempting to load a "complex layout" (based on the documented example) into the DIV.
Would you advise, to rip the layout script out of the 'loadPage.php' and place it into the main; using a callback on the main to "link" the elements?
Thank you.