I am posting this as I study deeper into both JavaScript and jQuery. The following code
$(function () {
alert('instance');
});
$(alert('hi'));
alerts "hi" and "instance" in that order! I'm sure there is an understanding into how js thinks on this because I would think it would be "instance" and "hi" - can anyone explain this? Thanks