> Bind-early-and-execute-later is nightmare of these $s.
jQuery completely works around this. Just put your function definition
inside of a closure. So you should put it inside:
jQuery(document).ready(function($){
function myfunc(){
$("div").bind(...);
}
});
or like so:
(function($){
$(document).ready(function(){
});
function myfunc(){
$("div").bind(...);
})(jQuery);
Both will continue to work, no matter what $ actually - that's the
beautiful thing about closures!
--John

