I'm using ASP to dynamically create a table from database data - what I'm trying to achieve is to be able to keep a record of each row's height as it's being created and if the sum of all the row heights goes over a certain number, to break the table, with the intention of starting a new table on another page. I've tried sending the identifier of a particular row to a Javascript function within the ASP loop after each </tr> tag, and then trying to reference that row's height using: document.getElementById(TheRow).height - but this isn't working. I've tried clientHeight, style.height, but each time it's coming out blank or with a zero. Anybody got any ideas on how I could achieve this?
Thanks
Thanks