Jsp:Enabling and disabling of button
There are many checkboxes in a page and all have the same name and are dynamically created.I have a button which needs to be enabled only when atleast a single checkbox is checked otherwise if none of the checkbox is checked then it should be disabled.Even there is selectall and deselect all button for the checkboxes in the page and on click of checkall button the same button should be enabled and that button should be disabled on the click of deselect all button.
Can anyone suggest a code for this.Thanks in advance
Welcome to DevX
Hope this helps.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL