I have a page that uses the jquery function:
$(document).ready(function() {
and I have put an alert in there, and tried everything. It does
I'm afraid I have no idea about how to fix the $(document).ready function, but this question has some possible solutions on how to work around it. Not sure if that's what you're looking for.
$(document).ready