If you're already using jQuery just return false on the submit method for the form.
$('#myFormID').submit(function(){ // do stuff here return false; }); -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Faircloth Sent: Monday, March 24, 2008 12:15 PM To: jquery-en@googlegroups.com Subject: [jQuery] Using a button that doesn't submit? Hi, all... I'm using some jQuery to add file fields to a page. I'm using a button to trigger the jQuery. <button>Add New Image Field</button> In IE6 and IE7 the button just adds fields like I want, however, in FF2, the button submits the form. How can I use the button with form submission? I found plenty of info on Google about submitting a form without a button, nothing on using a button in a form with causing submission... Rick