/    Sign up×
Community /Pin to ProfileBookmark

calendar popup

Hello,

I am using this script can any one tell me how to disable past dates so they are not clickable?

[url]http://www.mattkruse.com/javascript/calendarpopup[/url]

Thank you,

toad

[upl-file uuid=5fa9591f-5763-4038-b32a-9ea64fbe9fbd size=16kB]calendarpopup.zip[/upl-file]

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@jalarieDec 03.2002 — Theirs is Java, mine is JavaScript. Check out the "Needed By" field at the bottom of my "Samples of my work > Order form" page and let me know if you're interested in the code. My site is at:

 http://spruce.flint.umich.edu/~jalarie/
Copy linkTweet thisAlerts:
@gungzNov 22.2007 — I am using the popup calendar that I got from http://www.mattkruse.com/javascript/calendarpopup

but I have problem when I used it.

when it clicked, it will called the function:

cal.select(document.forms['nmform'].date1,'anchor1','MM/dd/yyyy'); return false;

My problem is, it doesn't work when I used it on the dynamic path like this :home.php?page=medical/medical_form. It work properly when I called the form like this : medical/medical_form.php.


Please help me...thanks
×

Success!

Help @toad 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.19,
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,
)...