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.
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
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?
-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
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
5 matches
Mail list logo