zizuno 0 Junior Poster in Training

This is just a dumbed down version of my web application. I successfully did an on submit earlier but deleted it somehow. So I deleted everything not essential to make sure nothing interferes. If I remove the submit part, it appends just fine. I am a noob with jquery, help is appreciated.

/e I was able to get it to work by placing the jquery stuff under the forum but now it displays and poofs instantly.

<html>
<head></head>
</body>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$('#form').submit(function() {	

$("ul").append("<li>hi</li>");		

});

</script>
<form id="form">

<label>Message</label>
<input class="text" id="message" type="text"/><input id="submit" type="submit" />
</form>
</body>
</html>