[JSMentors] Re: Variable scope/timing issue w/ ajax within a JavaScript module

2011-09-15 Thread Matthew Bramer
Man, you have JavaScript skillz. Very impressed! Thanks for all of the help today guys. It's all coming together for me. This one is for the bookmarks. Cheers, Matt -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/

Re: [JSMentors] Re: Variable scope/timing issue w/ ajax within a JavaScript module

2011-09-15 Thread Nick Morgan
On 15 September 2011 20:19, Matthew Bramer wrote: > I have another small question as a result of the code here.  With this line > of code: > jsllc.GetHashTable( listName, options, function (hashTable) { > > the variable hashTable hasn't been defined within the function call.  It's > defined withi

Re: [JSMentors] Re: Variable scope/timing issue w/ ajax within a JavaScript module

2011-09-15 Thread Matthew Bramer
Madness indeed. Your point is taken well... But I like being in over my head. That way you learn fast. :) I'll take your sample function and blast out some small pieces to see if something just clicks for me. Cheers, Matt -- To view archived discussions from the original JSMentors Mailman

Re: [JSMentors] Re: Variable scope/timing issue w/ ajax within a JavaScript module

2011-09-15 Thread Nick Morgan
On 15 September 2011 17:24, Matthew Bramer wrote: > Sweet, I'm starting to understand a little bit more and have modified my > code.  Since making the changes, none of the ddl's work even when setting > the default to false.  I feel like I'm super close though and am happy to > know that no one ha

Re: [JSMentors] Re: Variable scope/timing issue w/ ajax within a JavaScript module

2011-09-15 Thread Nick Morgan
On 15 September 2011 14:30, Matthew Bramer wrote: > Hey guys, > I really appreciate your time.  I'm definitely leaning towards a callback, > because I think this will handle my other question about options.FormatData > as well.  Here is a sample call into my module: > *

Re: [JSMentors] Re: Variable scope/timing issue w/ ajax within a JavaScript module

2011-09-15 Thread Poetro
2011/9/15 Matthew Bramer : > Hey guys, > I really appreciate your time.  I'm definitely leaning towards a callback, > because I think this will handle my other question about options.FormatData > as well.  Here is a sample call into my module: > *