Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to remove/disable buttons on submit

 
HaHa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pals,
I have a javascript file to do simple edit check on the form in a jsp page. Once the edit check passes, I want to disable the back button, the refresh button, the stop button and the forward button until the servlet has replied. How can I do that with javascript?
Thanks very much,
Haha
 
Randall Twede
Ranch Hand
Posts: 4363
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HAHA,
that has been discussed many times here already. try using the search feature at the top of the page.
I hate to say this but, your name does not comply with the Javaranch naming guidelines which can be found at http://www.javaranch.com/name.jsp
please register again with a valid name.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At first I though you were mocking him. Then I read the rest...
 
Randall Twede
Ranch Hand
Posts: 4363
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was afraid it might sound that way but i didnt have a good answer and it has been discussed many times
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic