I'm trying to get the inside of a div to change. after five seconds the div content stays the same. and I'm stuck..
<script type="text/javascript">
var $div = $("#tiedotteet");
var timer = setInterval( function() {
$div.html("<h1>Test</h1>");
}, 5000);
</script>
<div id="tiedotteet">