Using jquery ajax I populate the contents of an HTML div.
This new HTML data has javascript code (this part works correctly). However, this javascript also has
$(document).load(function() { ... });
This part does not work because the document is already loaded!
How should I do it?
source
share