You can't. You'll have to create a global variable outside document.ready:
var myFuncs = {}; $(document).ready(function() { myFuncs.foo = function() { // etc. }; }); other .js file: myFuncs.foo(); -- Josh -----Original Message----- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of tecmo Sent: Monday, July 06, 2009 5:11 PM To: jQuery (English) Subject: [jQuery] function scope In my $(document).ready(function() I have function foo() {} How can I access the foo function from a different jquery .js file? thank you, very new - eric