If you drop the <script> tags from index.php.txt and do
eval(data);
instead of
$("#foo").append(data);
it should work.
Aaron
fullgarbage wrote:
>
> 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]
>