Currently, I am enrolled in a javascript course and struggling to comprehend how the parameter in my example below is populated with the "correct stuff" without actually calling the function with a corresponding element?
success: function(result) {
$('myElement').html(result);
}
I suspect there might be some default behavior at play that I overlooked. Can anyone shed some light on this for me? Any help would be greatly appreciated. /Kristofer Guldvarg