Erik Beeson wrote: > $.get is asynchronous, meaning the call to $.get returns immediately, > even before the callback has happened. To answer your specific > question, setting a variable who's scope is outside the callback is as > easy as defining the variable outside the callback:
Erik - your explanation was so clear and concise and packed with other very useful info, it should go on the jQuery wiki as a tutorial IMHO! Guy