www.webdeveloper.com
Results 1 to 2 of 2

Thread: disabled checkbox to be viewed as readonly

  1. #1
    Join Date
    Jul 2004
    Posts
    74

    disabled checkbox to be viewed as readonly

    Is it possiable to show Checkbox as readonly like readonly text box.

    In my jsp web application i need to show chekbox checked or unchecked for some bussiness logic in read only mode.

    "readonly" doesn't work for checkbox.

    so, i made checkbox disabled and showing checked or unchecked with if else condition.Because of disabled option checkbox color is changed.

    Can any one provide information,
    to show disabled checkbox as normal checkbox with checked or unchecked

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    <input type="checkbox" disabled checked>
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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



Recent Articles