When we browse some popular websites and submits a form we don’t know whether it is processed or not and we click submit button again and again hence same request goes to server more than one time. This results in unpredictable behaviour which only complicates user experience. Avoiding multiple submission of HTML form is common requirement in Web Applications using Servlet, JSP and any other web technology. There are so many ways to avoid this issue and lot of information is present in the internet. It has become very hard to find out simple solution. One of the simple solutions is to disable submit button inside HTML and JavaScript instead on server side. In this blog we explain process of disabling single and multiple buttons using HTML and JavaScript itself.

Disable submit button using JavaScript

Using JavaScript it is very easy to disable a submit button after click, code for this is given below:


Read More

Copyright © 2013 Sowra Info Solutions. All rights reserved.