When a User Submits the form i want to stop the default behavior of the form. ie it should not reload. so that i can perform the AJAX request.
here is the code i use
You should use a return in the onsubmit hanlder of the form. Try this version: