Problem with jquery.form.js and preventing event propagation?

How is user gonna submit form if you even forbid him to click using your $(function() { $('#email-form'). Click(fillForm); }); function fillForm(e){ e.stopPropagation(); return false; }.

Yep, removed return false and it seems to be working now. Thanks! – circey Jul 26 at 6:36 @circey, no problem – Molecule Man Jul 26 at 6:37.

Did you look at the example of ajaxSubmit on the jquery.form. Js homepage? jquery.malsup.com/form/#ajaxSubmit $('#contactForm').

Submit(function() { // inside event callbacks 'this' is the DOM element so we first // wrap it in a jQuery object and then invoke ajaxSubmit $(this). AjaxSubmit(options); //! Important!

// always return false to prevent standard browser submit and page navigation return false; }); I don't know what events you are expecting when clicking in the form, but the fact that you are stopping propagation of events in the form may lead to stop the click on the button as well.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions