1.      I've put this line at the bottom of the standard jquery.js file not
compressed: 
        $package('jquery',{});

2.      I've wrapped the content of the standard chili.js file inside this:
        $using( 'jquery', function() { 
        ... 
        } );

3.      I've changed the default path inside package.js to:
        $package.packageBase = 'packages/';

4.      I've added this markup to mypage.html:
        <script type="text/javascript" src="package.js"></script>
        <script type="text/javascript" src="packages/chili.js"></script>

5.      I've put the modified chili.js and jquery.js files inside the 'packages'
folder, 
        so the folder from where the page is loaded contains: mypage.html,
package.js, packages/

6.      It works in FF, but it does not in IE.

-- 
View this message in context: 
http://www.nabble.com/dynamic-loading-of-jquery.js-into-my-web-page-tf2905089.html#a8289335
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to