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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:07:39+00:00 2026-05-31T07:07:39+00:00

<table border=1> <tr><td>111</td><td>22</td><td rowspan=3>ads</td></tr> <tr><td>111</td><td class=remove>22</td></tr> <tr><td>111</td><td class=remove>22</td></tr> <tr><td>111</td><td>22</td><td rowspan=3>ads</td></tr> <tr><td>111</td><td class=remove>22</td></tr> <tr><td>111</td><td class=remove>22</td></tr>

  • 0
<table border="1">
    <tr><td>111</td><td>22</td><td rowspan="3">ads</td></tr>
    <tr><td>111</td><td class="remove">22</td></tr>
    <tr><td>111</td><td class="remove">22</td></tr>
    <tr><td>111</td><td>22</td><td rowspan="3">ads</td></tr>
    <tr><td>111</td><td class="remove">22</td></tr>
    <tr><td>111</td><td class="remove">22</td></tr>
    <tr><td>111</td><td>22</td><td rowspan="3">ads</td></tr>
    <tr><td>111</td><td class="remove">22</td></tr>
    <tr><td>111</td><td class="remove">22</td></tr>
</table>

$('.remove').click(function(){
   $(this).parent().remove();
})

FIDDLE: http://jsfiddle.net/r5BDW/1/

If I remove TR then table is breaks because ROWSPAN is too large. Is possible modify ROWSPAN? If yes, how?

  • 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-31T07:07:39+00:00Added an answer on May 31, 2026 at 7:07 am
     $('.remove').click(function(){
         $(this).parent()
                .prevAll('tr:has(td[rowspan]):first')
                .find('td[rowspan]')
                .attr('rowspan', function(i, rs) { return rs - 1; })
                .end()
                .end()
                .remove();
     });
    
    • .parent()
    • .prevAll()
    • element-selector
    • has-selector
    • has-attribute-selector
    • first-selector
    • .find()
    • .attr()
    • .end()
    • .remove()
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So far, I'm doing this programmatically using VB.net/ASP.net: <table cellspacing=0 cellpadding=4 border=0 style=border- width:0px;width:100%;border-collapse:collapse;font-size:12px;>
This is most likely the culprit for this page: http://www.mypicx.com/04192010/ff/ table { border-collapse:collapse; }
<table id=tab> <tr><td class=click id=111>111</td> <td id=222 class=click>222</td></tr> <tr><td class=click id=333>333</td> <td id=444 class=click>444</td></tr>
<table id=tab> <tr><td class=click id=111>111</td> <td id=222 class=click>222</td></tr> <tr><td class=click id=333>333</td> <td id=444 class=click>444</td></tr>
This was created by stackoverflow :) <table border=2 class=table> <tr> <td class=clicked>aaa </td> <td
A senior developer at my workstation codes like this: table {border-collapse: collapse;border-spacing: 0;} fieldset,img
I'm using this code to populate a Table: <style type=text/css> table, td { border-color:
I read this code on HTMLCodeTutorial.com : <FORM> <TABLE BORDER CELLPADDING=3> <TR> <TD><NOBR>radius: <INPUT
<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd> <html> <head> <style> table {border: 1px solid
I have this nested table structure. Is it possible to merge 111 and 222

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.