I cannot understand why the code below is giving me this error in firebug
$ is not defined
Can someone explain?
<script type="text/javascript" >
$(document).ready(function(){
setTimeout2(function(){
$("#errormsg4").fadeOut("slow", function () {
$("#errormsg4").remove();
}); }, 5000);
});
</script>
<div id="errormsg4">test</div>