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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:48:22+00:00 2026-05-17T21:48:22+00:00

I want to move an id from one cell in a table to a

  • 0

I want to “move” an id from one cell in a table to a relative cell in the table.

To simplify things, let’s say I have this:

<tr><td></td><td id='a'></td><td></td><td></td><td></td></tr>

One of the cells has id='a' but I don’t know which it will be. I simply want to make the one to the right of it have id='a'.

Getting the cell with id='a' and un-setting the id is simple enough:

var cell_a = $('#a');
cell_a.attr('id','');

However, I’m not sure how to get the cell to the right. I tried a few things with cell_a.parent().children() and cell_a.parent().find() but wasn’t able to just pull out a list. Once I get the one to the right it will obviously be something like:

var new_cell_a = ?
new_cell_a.attr('id','a');
  • 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-17T21:48:22+00:00Added an answer on May 17, 2026 at 9:48 pm

    Try cell_a.next()

    like explained in this page: http://api.jquery.com/next/

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

Sidebar

Related Questions

I want to move data from one database's table to another database's table. I
I have c++ program which display images, I want to move from one image
I want to move some data from one table to another. I wrote a
I want to move table from one schema to another schema in mysql ,
I have an application and I want to move some of the tables from
I want to know how to move from one class to other class in
I want to have buttons that are switching from one color to another. Eg.
I want to dynamically copy or move TabItems from one TabControl to another TabControl.
I want to move file from one path to another path but instead of
Basically I want to move my enemy from one position to another. There starting

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.