Forum Moderators: open

Message Too Old, No Replies

Refreshing a table

         

jpbasekramer

12:11 pm on Feb 16, 2004 (gmt 0)

10+ Year Member



Im trying to refresh just a table on my web page so that nothing else gets refreshed.
I think there is a table.refresh function but have no idea how to implement it or how it works.
My table gets its data from a mysql database using php.

Can anyone help?

Thankyou

RonPK

1:15 pm on Feb 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm afraid that's not possible. Either you refresh the entire page, or nothing at all. A workaround might be to put the table in a separate page and 'include' that page in the main page by using an inline frame (iframe).

The refresh method you mentioned is IE-only and does not get fresh data from a server. It is only useful when you change the table's layout or style rules. It causes the table to reflow.

Welcome to WebmasterWorld by the way, I hope you'll enjoy the board!

jpbasekramer

1:40 pm on Feb 16, 2004 (gmt 0)

10+ Year Member



Thank you for your quick reply, did seem too good to be true!

cheers,