Convert form data to JavaScript object with jQuery. Instead of the default gray submit button, you may like to use an image. If you want to create a custom button and then customize the behavior using JavaScript, you need to use , or better still, a