• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

netscape 4.6 and IE problem

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a JSP issue. Moved to the HTML forum.
 
Bear Bibeault
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Netscape 4.6? Good lord! Why on earth are you worrying about a browser so old? Are you also supporting IE 2?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Netscape 4 is like 8 or 9 years old. Your company needs to move on!

You probably should put code on the server to figure out if it already processed the data. It is the only solution you can rely on.

Eric
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Netscape 4 is like 8 or 9 years old. Your company needs to move on!

You probably should put code on the server to figure out if it already processed the data. It is the only solution you can rely on.

Eric
 
You got style baby! More than this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic