Results 1 to 4 of 4

Thread: disabling/locking Check box

  1. #1
    Join Date
    Jul 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default disabling/locking Check box

    Hi Friends,

    I wanted to know whether we can disable/lock a checkbox field without using the <disable> attribute in HTML. It causing problems for us in Java. we wanted the value of the check box. it comes to JavaScript Level but its not coming to our Java level.. Hence we wanted help..
    Kindly advice..

    Thanks in advance
    Sanjo

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You could style it to be hidden....
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jul 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I didnt get u..
    You meant to say, hide that checkbox??

  4. #4
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by sanjoeapen View Post
    I wanted to know whether we can disable/lock a checkbox field without using the <disable> attribute in HTML.
    One can stop a user from typing in some controls by adding the readonly attribute, or by setting the readOnly property to true. The control can still be successful, but the user cannot edit it directly. A clever user can still modify the value, though, so it's not a secure feature.

    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •