Jquery Form Submit function not working
My submit button doesn't do anything even after i've bind the form to jquery.

No alert messages are displayed meaning to say it did not even go into that function.

I'm up in arms over this issue. :(


    <form id="keywordForm" method="post"> <!--action="/keyword_subscribe/"--> 
    					<P>Keyword: <INPUT TYPE="TEXT" NAME="keyword_input" Value = "Enter a new Keyword" class = 'hint'><BR><BR>
    					<!--<INPUT TYPE=hidden NAME="name_input" Value = {{ userprofile.username }} >-->
    					<INPUT TYPE="submit" Value="Crawl" name="crawl">
    					</P>
And here's the Jquery part:


    <script type="text/javascript">
    		$(document).ready(function() { 
    			$("#keywordForm").submit(function(e) {
    				alert("sometext"); 
    				return false;
    			});
    		});
    </script>
Jquery Form Submit function not working
===

My submit button doesn't do anything even after i've bind the form to jquery.

No alert messages are displayed meaning to say it did not even go into that function.

I'm up in arms over this issue. :(


    <form id="keywordForm" method="post"> <!--action="/keyword_subscribe/"--> 
    					<P>Keyword: <INPUT TYPE="TEXT" NAME="keyword_input" Value = "Enter a new Keyword" class = 'hint'><BR><BR>
    					<!--<INPUT TYPE=hidden NAME="name_input" Value = {{ userprofile.username }} >-->
    					<INPUT TYPE="submit" Value="Crawl" name="crawl">
    					</P>
And here's the Jquery part:


    <script type="text/javascript">
    		$(document).ready(function() { 
    			$("#keywordForm").submit(function(e) {
    				alert("sometext"); 
    				return false;
    			});
    		});
    </script>