Dropdown events disappear

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hsrivastava21
    New Member
    • Jul 2010
    • 1

    Dropdown events disappear

    Hi Team

    I have placed some events in dropdown, now i want whichever events has been finished in particular date, they disappear automatically, how can i do it?
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    Code:
    if datediff("d", rs("startDate"), now()) > 0 then
       response.write "<option value=" & chr(34) & rs("eventID") & chr(34)  & ">" & rs("eventName") & "</option>"  vbNewLine
    end if
    Let me know if this answers your question.

    Jared

    Comment

    Working...