Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

--- Showing a part of a table using JScript ---

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all,
My problem is i have a generated html page which may contain a huge table. I'd like to know if i can use JS for hiding a part (for example display only 10 first results) and if the client wants more, by clicking on a button, he can have the rest of the table.
Thankx
 
are you using a recordset object? if so, when the page is opened use a for loop to read the first ten values. then attach a method to your button which will discard the current display and and move the cursor another ten records. This'll probably work whatever you're using. hope that helps... [sig]<p>Matt<br><a href=mailto:matt@tubedale.co.uk>matt@tubedale.co.uk</a><br><a href= Solutions</a><br>I'm a mathematician/ computer programmer. My main interests lie in decision mathematics and web development although I am thoroughly capable in most areas of maths as well as many other forms of software development.[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top