It isn't necessary to define the functions inside the document.ready. Just code which is being executed.
Example: function Do_Something() { /// } function Do_Something_Else() { /// } $(document).ready(function(){ Do_Something(); }); JK -----Original Message----- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Matthew Sent: Monday, September 21, 2009 4:11 PM To: jQuery (English) Subject: [jQuery] Accessing functions inside $(document).ready() Hi all I've got a js file where all the functions are wrapped inside $ (document).ready(). I want to call one of the function from within the HTML but it says that the function "is not defined". Any ideas? Cheers Matthew