[jQuery] Form submission - Callback method not being called

[jQuery] Form submission - Callback method not being called


Hi,
I am having some difficulties trying programatically submit a form.
The form never get submitted and the callback is never executed. Could
anyone please give me some pointers, please?
Take the following example:
---------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/
TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8"/>
<title></title>
<script type="text/javascript" src="jquery-1.2.6.js"></script>
<script type="text/javascript">
jQuery.noConflict();
</script>
<script type="text/javascript">
function handleFormSubmissionClick(event) {
handleValidation();
}
function handleValidation(args) {
jQuery("form").submit(handleFormSubmission);
}
function handleFormSubmission(event) {
//This callback is never executed...
return true;
}
jQuery(document).ready(function(){
jQuery("#submit").bind("click",
handleFormSubmissionClick);
});
</script>
</head>
<body>
<form>
<input id="submit" name="submit" type="button"
value="send" />
</form>
</body>
</html>
---------------------------------------------------------------------------------------
Best regards,
Jean-Philippe Couture, jcouture@gmail.com