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 6188473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:14:15+00:00 2026-05-24T02:14:15+00:00

I have a table with checkbox and text input column. The last row in

  • 0

I have a table with checkbox and text input column. The last row in the checkbox column has a “Check All” link.

Upon Check All click:

1: Text must change “Uncheck All”

2: Check the box above in the column and set textbox text = 500.

Upon “Uncheck All”:
1: Text must change “Check All”
2: Uncheck the box and clear the textbox.

But point 2 above is not working properly.

Steps:

1: Click “Check All” – Text changes to “Uncheck All” and box is checked but it does not set the Textbox to 500.

2: Click “Uncheck All” – Text Changes to “Check All” and box is unchecked but now it sets the textbox to 500.

I think it is some event handling issue but I haven’t figured it out so far.

Any ideas what’s going on?

Note: I will have to use “onclick” because my actual code is .aspx page which doesn’t recognize onchange with checkbox.

Updated code Sample.

  • 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-24T02:14:16+00:00Added an answer on May 24, 2026 at 2:14 am

    The function onClick() and setValue() runs before click() applies a check on to the checkbox;
    Therefore at step 1, it does not see the check box checked.

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

Sidebar

Related Questions

I have a table style page with rows. Each row has a checkbox. I
I have a table like below <table id=mytable> <tr><th>checked</th><th>id</th><th>text</th></tr> <tr><td><input id=cb1 type=checkbox name=checker1/></td><td>123</td><td>abc</td></tr> <tr><td><input
I have a table (created by php) whose last colum has input boxes in
I have a large form that consists of all the input (text, checkbox, radio,
I have a table, one column of which contains only a checkbox and I
I have a table that has rows like this: <tr id= class=objectRow> <td class=bulkSelector><input
I have a table with checkboxes and I want to do the check all
I have a html table with a column of text boxes ( mileage ),
I have a table with three columns. One with an input text box and
I have the following code structure: <input type=checkbox name=some_name_1 value=some_val /> <input type=text name=input_name_1

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.