SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Nov 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to uncheck a checkbox on a particular condition in classic asp?

    I have a check box which is by default checked and based on the value from the database it has to be unchecked. For checking the check box the keyword is checked="checked" what is the keyword for unchecking. Please reply on this.

    Thanks & Regards,
    Rakesh

  2. #2
    SitePoint Wizard bronze trophy
    Join Date
    Oct 2001
    Location
    Vancouver BC Canada
    Posts
    2,029
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Try checked="" or removing checked entirely.
    Andrew Wasson | www.lunadesign.org
    Principal / Internet Development

  3. #3
    SitePoint Member
    Join Date
    Nov 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    on a condition I have to do this

    Actually this is the condition

    <td width="70%"><input type="checkbox" name="chkparticipate" checked="checked" value="Y" <%if confirmation=false then%> checked="" <%end if%> onclick="checkGropPartipation1()">


    so its not working. Can you suggest me how to debug the classic asp page.


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
  •