Please see my comment to the question. The problem looks artificial to me. Normally, all your jQuery does is this: it handles the event
$(document).ready
. From withing this handler, you handle any other events of any other objects, as many as you want. Something like
$(document).ready(function(){
});
To get better idea, please see:
http://docs.jquery.com/Tutorials:How_jQuery_Works[
^].
If you still have some concerns, try to show what did you try and why it could not work for you. In this case, please use "Improve question" above.
—SA