Ask a question using jquery after submitting a form but before processing it?

I think I know what your problem is. When you run the submit function on a form, it wants to submit right away, however, if you return false on it, the form won't submit. What you want is to write a different function that will handle your fb post....then at the end of that logic, you'd want to do a $('#search').submit().

In case anyone else is trying to do this in the future, here is what the final code looked like. Thank you kevin. Mansel for pointing me in the right direction.

I needed to add the submit() to the callback function and the submit button for the form needed to be OUTSIDE the form tags or else it breaks the javascript. Here is the javascript.

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