/    Sign up×
Community /Pin to ProfileBookmark

need to delete table rows when date expires

I have a gig listings table and I need the old dates to delete themselves… any ideas?

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliSep 14.2003 — Read up on DOM methods such as

object.remeoveChild(childToRemove)
Copy linkTweet thisAlerts:
@James_nleauthorSep 14.2003 — Thanks, I'll give it a shot
Copy linkTweet thisAlerts:
@James_nleauthorSep 14.2003 — 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.
Copy linkTweet thisAlerts:
@CharlesSep 14.2003 — [i]Originally posted by James nle [/i]

[B]Hi, I thik thats actually a bit more advanced than what i need[/B][/QUOTE]
[font=georgia]On the contrary, it's exactly what you need. What you want is for somebody else to spoon feed you the code.[/font]
×

Success!

Help @James_nle spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...