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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:52:10+00:00 2026-06-12T19:52:10+00:00

I want the same as the solution to this question but to determine whether

  • 0

I want the same as the solution to this question but to determine whether a row actually exists in a table. I.e. I do not want to know whether a value exists in a table but I want to know whether the exact row (<tr ....></tr>) already exists.

Any ideas :)?

  • 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-12T19:52:11+00:00Added an answer on June 12, 2026 at 7:52 pm

    If you need just to check if table contains a specific row you could do like this:

    if($("#rowID").length){
       //Horray you have the row you specified.
    }
    else{
       //what you should do when the row doesn't exist
    }
    

    Note that if($("#rowID").length) implies that length of the element not equal zero which means that it exists, you can also change the way you want to select the element with you could do something like that $("#tableID tr").length.

    I hope this could help you

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

Sidebar

Related Questions

I guess this is a basic question but I could not find the solution.
This question was asked before but the solution is not applicable in my case.
I know this type of question has been asked before, but I could not
The same question is answered in jQUery but I'm looking for solution without jQuery.
This is probably a stupid question but I can not seem to either remember
This question is actually a 3 Part Question. Please suggest the valid solution for
while I wrote this question I figured out a solution but I'm going to
I want to render same template on one page which should display the value
This question is kind of lengthy but I try to provide you with the
While looking for a solution to this question , I attempted to add a

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.