The moose likes HTML, CSS and JavaScript and the fly likes greyed buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "greyed buttons" Watch "greyed buttons" New topic

greyed buttons

phani kon
Ranch Hand

Joined: Apr 06, 2005
Posts: 251

I have jsp page first.jsp which has got radio buttons
1.ALL 2.WEB so on.

If I select ALL and say submit it calls second.jsp page.

on the second.jsp page I have buttons as quater, month, year so on.

If I select ALL on the first.jsp page and say submit which calls second.jsp page the buttons on the second.jsp page quater should be active other buttons month and year should be greyed out.

How would I do it? Can anyone please help me with examples.

thanks a lot
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

The "disabled" attribute will disable an HTML widget.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link: http://aspose.com/file-tools
subject: greyed buttons
Similar Threads
null is coming...when I set a HashMap in request object?
getting the URL for the calling jsp page?
How to Uncheck the checkbox
multiple forms in JSP
previous page