I'm not able to test this right now, but I would think you could use jQuery's preventDefault method. jQuery /; jQuery ; jQuery ; jQuery ; jQuery stop() jQuery Callback; jQuery Chaining; jQuery HTML. This solution disabled the enter key and fixed the problem though, thanks @Dave! // Don't forget e.preventDefault() if you want to stop normal form .submission }); This is a nitpicky answer, but let me explain why this is a better solution: We're properly handling a form submit rather than a button press. Try this, if enter key was pressed you can capture it like this for example, I developed an answer the other day html button specify selected, see if this helps.. Improve this answer. To submit a form via AJAX, your script will need to handle four tasks: Capture the form submit button so that the default action does not take place. jQuery simplifies AJAX call and DOM manipulation. Using the Code. No, the whole function will complete before the default action continues (or doesn't continue if you've cancelled it). There are two thing with respect to one operation in the web. In this code after submit button click we call jquery ajax and we pass url to post type POST/GET You can display the submit form as a separate page inside the iframe, and when it gets submitted the outer/container page will not reload. Like this: