Thanks Aaron,


you saved me from sitting up all night. Usually I so rarely refer to eval() (being a bad practice), that I almost forgotten it. 


Friday, July 13, 2007, 11:37:45 PM, Aaron Porter wrote:


>

If you drop the <script> tags from index.php.txt and do


eval(data);

instead of 


$("#foo").append(data); it should work.



Aaron



Hello all, 

I have a problem, which troubles me for hours.

I have a modular application (something like netvibes.com), where the user can add

many modules without refreshing the page. Every module has own _javascript_ which is generated

dynamically (so I can't just include mymodule.js) - the module is lodaded through ajax (jQuery of 

course). The god damned IE doensn't want to execute the _javascript_. I provided a little test case:


http://dev.svest.org/test/index.html


The index.php is as simple as:


http://dev.svest.org/test/index.php.txt


Mozilla fires the alert, IE - not. Any suggestions ?  


-- 

Best regards,

Stoyan                          mailto:[EMAIL PROTECTED]





-- 

Best regards,

 Stoyan                            mailto:[EMAIL PROTECTED]

Reply via email to