Is there a way to observe my html body?
I have a css class: .abdala and this script:
<script type="text/javascript">
$(document).ready(function () {
$(".abdala").each(function (e) {
alert("Abdala css class found");
});
});
</script>
I need observe the html body changes.
If i do that:
$(document.body).append("<div class=\"abdala\">another abadala element</div>");
After append i need do something. Is there a way to do that?