Disable submit button javascript. Here's the code I am using: $('form').