I found lots of functions like this one:
$(function() {
$("body a").click(function() {
alert(this.innerHTML);
return false;
});
});
What's the difference between this
and $(this)
in jquery?
They all have a line return false;
- I don't know when I should use return false
in jquery function and don't know what's the use of it?