• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

disable form element when an item is selected

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[CODE] Hello I have two forms on a page one only has a submit button the other only has a radio button. They each call different servlets. When one is pressed I want to disable the other while the servlet does it's stuff. How can I do this? here are the forms:
Well i tried to put the forms but no matter what i got that stupid OnClick error.
they are pretty straight forward though..... Unlike this thing
 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rich,
yeah the validation in this forum can be pretty funky sometimes, what I end up doing is renaming the "onClick" method to "on-Click" or something like that.
 
rich werth
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
U know after readin the error message which said to get rid of all greater than and less than symbols which i did. I still got that error.
Anyway I tried what you said about renaming the onClick to onclick but the form elements still don't get disabled?
Got any other ideas?
 
No, tomorrow we rule the world! With this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic