| Author |
Number of Table Rows Returning Double
|
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
Any idea why the following would return 22 on a table that only has 11 rows?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
I asked for your table markup to drop from the sky, but it didn't happen.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Bad markup?
You loop through and see why?
Eric
|
 |
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
Bear Bibeault wrote:I asked for your table markup to drop from the sky, but it didn't happen.
Here is the JSP of the table:
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
JSP code never helps - I believe we told you this many times before.
Eric
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Quick glance, I am guessing it is counting the rows that are in the child tables, but I would not know by seeing what the real html looks like.
Also when you mark up tables, you should use thead and tbody tags.
Eric
|
 |
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
Eric Pascarello wrote:Quick glance, I am guessing it is counting the rows that are in the child tables, but I would not know by seeing what the real html looks like.
Also when you mark up tables, you should use thead and tbody tags.
Eric
Here is source from a tble that should only have three rows but says it has 5:
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
When I look in Firebug, I see 5 rows
Eric
|
 |
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
Eric Pascarello wrote:When I look in Firebug, I see 5 rows
Eric
thanks.
I took out the table within the table and it gives me the desired results.
|
 |
 |
|
|
subject: Number of Table Rows Returning Double
|
|
|