If I replace the content of a span using the syntax below, does it raise an event?:
$("#container").html(data);
I am trying to refresh another div whenever the content of #container changes, but I don't know which #container event to bind. I am using jQuery.
Any assistance appreciated.
UPDATE: Here is a more comprehensive code listing...
$.post(addUri, myForm.serialize(), function(data) {
$("#container").html(data);
}, 'html');