Ok, so I am using the facebox plugin. One of the examples given is to trigger the popup, trigger a spinner, do an ajax call, when the call returns replace the spinner with the results. Code is here
jQuery.facebox(function($) { 
 $.get('blah.html', function(data) { $.facebox(data) })
})
A few questions.
- I thought that the 
jQueryand$variables were the same thing, and you usejQueryonly when there are naming conflicts with other libraries. In this example, the author callsjQuery.faceboxand passes in a function with$as a param. Am I misunderstand the difference between the two? - in the .get callback, we are calling 
$.faceboxis$in that context the jquery global, or is it the variable passed in to the outer function? 
Thanks for the clarification :-)