I have a file "A" with
$('.myClass').mouseover(function() {
myFunction();
});
and a file "B" with
function myFunction() {
$(this).hide();
};
It doesn't work because $(this)
is undefined.
Is there a way I can pass the $(this)
selector across multiple files?