Jsp:Enabling and disabling of button

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Jsp:Enabling and disabling of button

  1. #1
    Join Date
    May 2010

    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

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center