Hello Friends,

I stuck with fuction in html. .load function is not working. i have tired but scripts, fixes nothing is working.

<!DOCTYPE html>
<title>AJAX Chat Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Script -->
<script src="jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready( function(){
$("#post").submit( function(){
return false;
<!-- Messages display here -->
<div id="chats"></div>
<!-- Post the messages -->
<form id="post">
<input type="hidden" value="<?php echo $_SESSION['username']; ?>" />
<label>Message</label>&nbsp; &nbsp;
<input type="" maxlength="140" name="messages" />
<br />
<input type="submit" value="Chat" />
looking for help kindly help me out
thanks in advanced