Consecutive Numbering

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: Consecutive Numbering

Post by seandisanti » Thu Oct 18, 2012 7:15 am

If you use consecutive numbering then selectively hide rows based on those numbers, their absence will be obvious. You should be able to either refine your query to skip those rows, or use CSS to hide the ones you don't want.

johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Consecutive Numbering

Post by johnj » Fri Oct 19, 2012 10:00 pm

add a 'id' attribute to each of the rows and the hide the one that you do not need using jquery.
e.g.

Code: Select all

<tr id='hide_this'>test this</tr>

then using jquery, you can do something like this:

$('#hide_this').hide();

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests