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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:51:08+00:00 2026-05-28T14:51:08+00:00

I have a table as follows <table id=vainTbl6 class=dtable cellpadding=3 cellspacing=1 border=0> <thead> <tr><th>check</td><th>Morphosal</th><th>goat

  • 0

I have a table as follows

<table id="vainTbl6" class="dtable" cellpadding="3" cellspacing="1" border="0">
    <thead>
        <tr><th>check</td><th>Morphosal</th><th>goat </th><th>the other</th></tr>
    </thead>
    <tbody id="tbdy">
         <tr class="gradeX">
            <td><input type="checkbox" class = "chcktbl" /></td>
            <td style="width:55%">-Approve the femuneration Gommiqee purpirt</td>
            <td>pontpose</td></tr>
       <tr class="gradeX">
            <td><input type="checkbox" class = "chcktbl" /></td>
            <td style="width:55%">-Declare a final truce</td>
            <td>More</td></tr>
       <tr class="gradeX"><td><input type="checkbox" class = "chcktbl" /></td>
            <td style="width:55%">-Amend the articles of asscotonation</td>
            <td>Four</td></tr>
       <tr class="gradeX"><td><input type="checkbox" class = "chcktbl" /></td>
            <td style="width:55%">-Re-elect Bandanna la banana for warden</td>
            <td>Floor</td></tr>
    </tbody>
</table>

and the first column is a checkbox. I need to fetch all the second column cells where the checkbox in the first column is set to true

I tried using this, but to no avail.

  function extractRowCell(divNode){
    alert(divNode.id);
    $('#tbdy tr td').each(function() {    
     alert('hello');
     var aRowData = this.cells
     alert(aRowData[1].firstChild.value);
             return aRowData;
     });
}

The call is as follows:

 <a id="la" href='#' onclick='extractRowCell(this.parentNode)' style="position:absolute; top:280px; left:350px;">Votes & Concerns</a>

The alert in the function triggers though with the correct value.

TIA

  • 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-28T14:51:09+00:00Added an answer on May 28, 2026 at 2:51 pm

    To iterate over the td's simply do the following.

    $('#tbdy tr td').each(function() {    
         alert( $(this).text() ); 
    }); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table as follows <div id=div13 class=ctnr> <table id=mainTable13 class=dtable cellpadding=3 cellspacing=1
I have a table defined as follows in HTML: <table border=0 cellpadding=0 cellspacing=0 style=width:100%;>
I have a table in html as follows <table> <tbody> <tr> <td>test content</td> <td><input
I have a database table as follows. <table border='1'><th>Id</th><th>FirstName</th><th>last Name</th><tr><td>1</td><td>Tom</td><td>T</td></tr><tr><td>2</td><td>Jerry</td><td>J</td></tr></table> I would like to
I have a table as follows > RowID SessionID EventID RequestedURL Date > 1
I have a table like as follows: SoftwareName Count Country Project 15 Canada Visio
I have a table set up as follows id origin destination carrier_id so typical
We have a table set up as follows: |ID|EmployeeID|Date |Category |Hours| |1 |1 |1/1/2010
I have a table with sales per store as follows: SQL> select * from
The architecture for this scenario is as follows: I have a table of items

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.