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

Most of the websites in today’s market have one or more sliders in the home page which rolls images and text. Sliders can be very effective or a major distraction to viewers. Here are 10 tips to make sure sliders are properly configured on your website(s).

1. Use less number of DOM elements in a slide.

Example 1: If title and description is needed to each image, instead of adding them to each slide mark it in “Global Caption”. It will not be animated which improves the performance.

Example2: If “Pin it” button is needed to each slide, then use one button out of the slider and switch its URL with slider API when slide changes.

Iframes are complex DOM elements, so avoid them inside the slider especially on mobile.

Read More

Copyright © 2013 Sowra Info Solutions. All rights reserved.