Scenaio: - In my jsp code, currently I have a page where a Save button is seen. Clicking on save button would cause the form to be submitted.
Issue: - But sometimes because of network delay, users click the save button many times and hence the submit happens many times and transaction happens multiple times instead of just once. Solution:- To resolve this issue, we thought once the save button is clicked, using java script, we would pop up message indicating that the transaction is submitted and DISABLE the save button.
We are using a image for Save and hence to show a disabled save, we have created another image called btn-save-disabled.
We are trying to make this change so that it works in both IE and netscape. It looks like onclick() on image does not working in Netscape 4.6.