If file1 uses .load(file2) and If file2 has Javascript/Jquery initialization code. Is there a way to initialize the code inside file2 by file2 when loaded into a container in file1 by file1?
$(document).ready(... doesn't quite work for this. Remember the code should be inside file2 (the file being loaded should initialize it's own js, is this possible?)
I hope this makes sense..