Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
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
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
Enable/Disable items
Raj Puri
Ranch Hand
Posts: 189
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How can I enable/disable items in JSP/HTML. Like base on some condition text item shopuld be enabled or disabled? Thanks.
Bear Bibeault
Sheriff
Posts: 67754
173
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This can only be accomplished with client-side Javascript. Moving to the
HTML/Javascript forum
.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Eric Pascarello
author
Posts: 15385
6
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
add the disabled attribute to the necessary tags.
Eric
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Hyper link based menu
Role Based Menu in a JSP Page.
How do I disable some of the elements in my JComboBox?
Do we assume assertion is disabled or enabled?
enable and disable a menu item in a menu bar
More...