Bug loading html with script in jquery 1.4

Bug loading html with script in jquery 1.4

Hello,

I found a problem when loading a section of a page using $.load/$.ajax. I have a page that loads some html content and a script tag. The html is loaded successfully, but the script is not processed after about the 3rd attempt.

The section I want to load has less than 512B. If the section is larger than that then the scripts are processed successfully.

This problem in only in jquery 1.4. If I try exactly the same thing using jquery 1.3.2 than the scripts work every time.

Regards,
Cosmin Harangus