How can I apply some code to the content of an ajax loaded tab? I tried using $(document).ready inside the loaded content, but that prevented css styles from loading (don't know why).
Is there a callback function? Should I use $(document).ready and styles inside the loaded document in some other way?
If using $(document).ready inside the loaded document is fine, should I also include references to jquery and its plugins in it?