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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:33:49+00:00 2026-05-30T00:33:49+00:00

I have this strange scenario. I have a table having multiple rows (each generated

  • 0

I have this strange scenario.

I have a table having multiple rows (each generated dynamically on click of a button).

Each row has these :

|=======| |=======| |=======|
|=======|

Where |=======| represents a select control (dropdown) in the html page

Now I uniquely want to identify each control, say 1.select1, 1.select2, 1.select3 and 1.select4 for row no.1

The problem is rows might be deleted from the middle. So, I want each select control to have a seperate staring value like x.select1, x.select2, x.select3, x.select4 where x is the unique number.

Is there any way I can access say x.select2 when I click on x.select1 ?

For that I need to uniquely name each set of select controls (in a row).

  • 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-30T00:33:50+00:00Added an answer on May 30, 2026 at 12:33 am

    Assuming each select is in its own td, you can use the :eq selector to find it:

    function get_select(tr_idx, td_idx) {
        return $('table tr:eq('+tr_idx+') td:eq('+td_idx+') select');
    }
    

    If you have a select and want the next one, you can do:

    function get_next_select(sel) {
        return sel.parent('td').next('td').find('select:first');
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Why this two functions have the strange behaviour of when I click on thead,
i am having a strange problem, i have a static class like this public
This is strange. I have a windows application that dynamically loads DLLs using Reflection.Assembly.LoadFrom(dll_file_name_here)
I have this strange call stack and I am stumped to understand why. It
I have this strange issue with my web app. You see, I'm using jQuery
This is a strange one... In a windows forms app (VB.NET/VS 2005) I have
This a bit of strange one.... We have an internal web app that runs
it is very strange, because this error doesn't happen all the time... I have
I have the following query, now the strange thing is if I run this
It seems I tend to attract strange issues. This time, I have written 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.