jQuery AJAX in Firefox

jQuery AJAX in Firefox

I am using jQuery AJAX to get some html/js from external file.
 
It works fine in IE.
 
In Firefox, the external div with <script> output gets pasted if I use an alert(), but if I remove the alert, it reverts back to blank i.e. the script output gets overwritten. This does not happen in IE.
 
Please help.