views:

154

answers:

2

I want to split up the jQuery .js file into two, but I have noticed some of the features arent working when I split it up. Is it because I have two external scripts that start with:

$(document).ready(function(){

Is that not possible?

+4  A: 

Yes, you can have two scripts that both set $(document).ready(...).

Ryan Morlok
A: 

Whoops, I think I found the answer.

http://docs.jquery.com/Events/ready#fn

jrutter