is it possible for 2 different UI elements on the same page to use the ready() function?

is it possible for 2 different UI elements on the same page to use the ready() function?

Hi, I'm still quite new to jquery, but I have some practice with UI. I have some tabbed content embedded inside the horizontal scrollTo element, however they both require the ready() function. At the moment whenever I have them both active, they conflict and neither work at all, but they work perfectly on their own.

Can anybody advise the best way around this problem please?

Thanks in advance.