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

  • Home
  • SEARCH
  • 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 9065087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:24:56+00:00 2026-06-16T16:24:56+00:00

i have table for quiz results, in the table there a cell for grade.

  • 0

i have table for quiz results, in the table there a cell for grade.

Example (cell grade is in a while loop and the numbers appears after checking the other cells with if):

    <table border="1">
      <tbody>
        <tr>
          <th> id </th>
          <th> question </th>
          <th> answer </th>
          <th> correct answer </th>
          <th> grade </th>


        </tr>

        <tr>

          <td> 1 </td>
          <td> question how bla bla bla</td>
          <td> bla bla answer</td>
          <td> correct answer</td>
          <td> 5 (this cell has the grade of each question)</td>
        </tr>
        <tr>

          <td> 2 </td>
          <td> question2 how bla bla bla</td>
          <td> bla bla answer2</td>
          <td> correct answer2</td>
          <td> 8 (this cell has the grade of each question)</td>
        </tr>

etc

// in this cell i want to show me the average from td grade

<td colspan="4" align="center">average</td>
  <td><input type="text" readonly="readonly" name="Avg" /></td>      


      </tbody>
    </table>

thanks a lot!!

  • 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-06-16T16:24:57+00:00Added an answer on June 16, 2026 at 4:24 pm

    see this tut http://www.amitpatil.me/table-manipulation-with-jquery/ What You are probably looking for is mentioned in the 5th point on above page ie “5) Find all the values from td of particular column “

    $(".grid tr").each(function(i){
       colValues[i] = $('tr:nth-child('+(i+1)+')>td:nth-child(1)').html();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Kind of stuck on a query. I have a table of quiz results which
I have a table with scores that contestants get after the complete a quiz.
I have the following database design: Employee Table: Username, Name Quiz Table: QuizID, Title,
I have table with around 70 000 rows. There is 6000 rows that i
I have used MySQL Workbench to model my table and somehow there's a logic
Recently I came across with the following quiz. Imagine we have this table +--------+
I am creating a little online quiz/game. I have a users -table containing a
i'm making an android quiz app. there are have one question an four answers,
I have 2 tables. quiz table ================= id, q_name, code completed_quizes table ====================================================== id,
I have a result table like: ID STUDENT_ID Branch_id Class_id Exam_id Subject_id Numbers Date

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.