etter way to do 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
> 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
ril 04, 2008 1: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 with this. All of my code is already written
inside the doc.ready function. The code which needs to be located
outside of the
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.
H
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 do
5 matches
Mail list logo