append statement
append statement
in the below code , why the append statement didnt executed and it will be executed only if you remove the load statement
<script type="text/javascript">
$(document).ready(function(e) {
$("button").click(function(e) {
$("div").append(" this is an appended content to the div");
$("div").load('test1.txt');
});
});
</script>
<div></div>
<button>Load the text</button>