Click to See Complete Forum and Search --> : need to delete table rows when date expires


James nle
09-14-2003, 05:37 AM
I have a gig listings table and I need the old dates to delete themselves... any ideas?

Khalid Ali
09-14-2003, 07:54 AM
Read up on DOM methods such as

object.remeoveChild(childToRemove)

Charles
09-14-2003, 07:58 AM
And see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/.

James nle
09-14-2003, 09:22 AM
Thanks, I'll give it a shot

James nle
09-14-2003, 09:31 AM
Hi, I thik thats actually a bit more advanced than what i need, I shall try to explain better...

I have a standard table with 4 columns Date, Venue, Town, Bands

and each new date is on adifferent row. what I need to do is have the rows delete themselves after the date, eg delete a gig that happened on Sep 10 when it is Sep 11, this is due to being on tour and not always being able to be online but still wanting it to be up to date...

any ideas gratefully recieved, Thanks.

Charles
09-14-2003, 12:21 PM
Originally posted by James nle
Hi, I thik thats actually a bit more advanced than what i needOn the contrary, it's exactly what you need. What you want is for somebody else to spoon feed you the code.