Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4274504
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T07:51:22+00:00 2026-05-21T07:51:22+00:00

My problem is enabling a checkbox in javascript but in disabling my codes is

  • 0

My problem is enabling a checkbox in javascript but in disabling my codes is running properly.. i already to change chk1.enabled = checked but its not working..

here’s my code:

<script language="javascript" type="text/javascript">

    function ckGrp(){

    var ck_arr = document.getElementsByName('chkRaps');
    var ck = document.getElementsByName('chkPPS');
    if(ck.checked == true){
           ck_arr.disabled = true;
    }else{
          ck_arr.disabled = false;
            }

    }

   </script>

asp.net code:

<td><asp:CheckBox OnClick="ckGrp(); " ID="chkPPS" runat="server" /> &nbsp;<asp:Label ID="Label2" 
        runat="server" Text="Bill Under PPS"></asp:Label>


  <td><asp:CheckBox ID="chkRaps" runat="server" ClientIDMode="Static" Enabled="False" /> &nbsp;<asp:Label ID="Label3" 
        runat="server" Text="Include first billable visit for RAPs"></asp:Label><br/>
        <asp:CheckBox ID="chkTarNumber" runat="server" ClientIDMode="Static" Enabled="False"/> &nbsp;<asp:Label ID="Label4" 
        runat="server" Text="Use Claim Oasis Matching Key as TAR Number"></asp:Label><br/>
        <asp:CheckBox ID="chkPPSMedthod" runat="server" ClientIDMode="Static" Enabled="False" /> &nbsp;<asp:Label ID="Label5" 
        runat="server" Text="Effective 01/01/08 use new PPS Payment Method"></asp:Label><br/>
        <asp:CheckBox ID="chkMTP" runat="server" ClientIDMode="Static" Enabled="False" /> &nbsp;<asp:Label ID="Label6" 
        runat="server" Text="Auto Adjust Claim Amount to Match Total Payment"></asp:Label><br/>
        for differences within +/-<asp:TextBox ID="txtMTP" runat="server" Enabled="False"></asp:TextBox>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T07:51:23+00:00Added an answer on May 21, 2026 at 7:51 am

    Change it to:

    chk1.disabled = true;
    

    And it’ll work. To re-enable, just change the true to false.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I asked this question previously: Disabling and Re-Enabling Dynamic Form Elements with JQuery but
I have a problem: after enable button, it look like enabled but isn't clickable.
Problem: I have a table that prints out vertical but I would like it
Greetings! I have some troubles enabling OAuth authentication for my web application running on
I've seen this problem with many others, went thru all the topics, but I
I'm struggling with a weird Azure problem after disabling remote desktop connections. I started
I am facing problem with enabling an edittext box at initialisation. I have disabled
In my example, I've got two methods for Enabling and Disabling and account and
Here's my problem... I have a website running in II7 integrated pipeline mode and
Problem: Been struggling to get my code to load external shaders and it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.