[jQuery] Re: Func outside of doc.ready cannot access function inside doc.ready? Why not?

2008-04-04 Thread Andy Matthews
I'm still having trouble with this. All of my code is already written inside the doc.ready function. The code which needs to be located outside of the doc.ready function HAS to be able to call code within the doc.ready body. I'd be GREATLY in debt to anyone who could help me resolve this issue.

[jQuery] Re: Func outside of doc.ready cannot access function inside doc.ready? Why not?

2008-04-04 Thread Jeffrey Kretz
To: jQuery (English) Subject: [jQuery] Re: Func outside of doc.ready cannot access function inside doc.ready? Why not? I'm still having trouble with this. All of my code is already written inside the doc.ready function. The code which needs to be located outside of the doc.ready function HAS

[jQuery] Re: Func outside of doc.ready cannot access function inside doc.ready? Why not?

2008-04-04 Thread Mike Alsup
I'm still having trouble with this. All of my code is already written inside the doc.ready function. The code which needs to be located outside of the doc.ready function HAS to be able to call code within the doc.ready body. I'd be GREATLY in debt to anyone who could help me resolve

[jQuery] Re: Func outside of doc.ready cannot access function inside doc.ready? Why not?

2008-04-04 Thread Andy Matthews
this? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Friday, April 04, 2008 3:22 PM To: jQuery (English) Subject: [jQuery] Re: Func outside of doc.ready cannot access function inside doc.ready? Why not? I'm still having trouble

[jQuery] Re: Func outside of doc.ready cannot access function inside doc.ready? Why not?

2008-04-02 Thread Josh Nathanson
Andy - as you may have guessed, you have a scoping issue. Everything inside the doc.ready call is in an anyonymous function. Any functions inside doc.ready that you need to have access to from *outside* doc.ready, you'll need to scope accordingly. You might want to create a variable outside