[jQuery] How to use Jquery with other Frameworks?

[jQuery] How to use Jquery with other Frameworks?


How can i reach the functions that are inside the main Jquery function
for example:
function dothis(){
doSomething();
}
$(document).ready(function(){
function doSomething(){
    $("#" + spiel0).css({zIndex :"5 ....
}
});
the reason i do this is because the dothis() function wont run insisde
$(document).ready(function()
any Ideas?