slayeroffice - web experiments gone horribly awry

02.25.2004 - Dynamic Date Dropdown v2.0

A visitor to the site requested a modification to the Dynamic Date Dropdown, specifically that it would generate the dropdown with future dates rather than dates in the past.

So I've modified it to take an additional boolean argument to manage this. Passing the function a "0" will cause it to create "days" number of options into the future, while passing a "1" will have it create "days" number of options into the past.

Comments have been closed for this post.