Ext


Go Back   Ext JS Forums > Ext JS Community Forums (1.x) [Unsupported] > Ext 1.x: Help

Reply
 
Thread Tools
  #1  
Old 02-22-2007, 02:21 PM
dimmoro dimmoro is offline
Ext User
 
Join Date: Mar 2007
Posts: 1
dimmoro is on a distinguished road
Default Does Element update load a pages script

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.
Reply With Quote
  #2  
Old 02-23-2007, 05:00 AM
Animal's Avatar
Animal Animal is offline
Ext JS - Community Support Team
 
Join Date: Mar 2007
Location: East Midlands, UK
Posts: 23,352
Animal will become famous soon enough
Default

http://www.yui-ext.com/deploy/yui-ex...nt.html#update
Reply With Quote
Reply

Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird bug with script update in FF digeomel Ext 2.x: Help 2 03-21-2007 04:46 AM
Element.update script extraction REs revisited... Animal Ext 2.x: Help 1 03-09-2007 07:54 PM
Show Load Indicator W/Element.load() thejoker101 Ext 1.x: Help 2 02-08-2007 03:17 PM
Element.update() !!! Animal Ext: Feature Requests 1 11-09-2006 09:49 AM
Element.update() Animal Ext: Feature Requests 6 10-10-2006 12:06 PM

All times are GMT -5. The time now is 08:58 AM.

© 2006-2009 Ext, LLC
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.