tikkanen
asked on
Date picker with javascript or php
I need a little calendar where user can choose the day in format dd-mm-yyyy.
Somekind of that there is a link where open a calendar where user can choose the day.
I am not so good with javascript or php
Somekind of that there is a link where open a calendar where user can choose the day.
I am not so good with javascript or php
ASKER
email id? my email address?
yes, that code need some javasriptfile and css file. i will send through email.. my email: raja_ind82@yahoo.com
upload them to ee-stuff.com - better for you and everybody else
Or just take anyone from the net:
http://javascript.internet.com/time-date/date-picker.html
http://javascript.internet.com/time-date/date-picker.html
Sorry, i don't know where to upload first, thanks for your help.
i have uploaded that files.
View all files for Question ID: 22391627
https://filedb.experts-exchange.com/incoming/ee-stuff/2504-javascript.zip
Direct link to your file
https://filedb.experts-exchange.com/incoming/ee-stuff/2504-javascript.zip
Please download that from there
Regards,
M.Raja
i have uploaded that files.
View all files for Question ID: 22391627
https://filedb.experts-exchange.com/incoming/ee-stuff/2504-javascript.zip
Direct link to your file
https://filedb.experts-exchange.com/incoming/ee-stuff/2504-javascript.zip
Please download that from there
Regards,
M.Raja
ASKER
I dont see nothing. I dowlaoded these files, but i don't see nothin on my page. All files are in same direction.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset =utf-8" />
<meta name="generator" content="Adobe GoLive" />
<title>Untitled Page</title>
<link rel="stylesheet" type="text/css" media="all" href="/skins/aqua/theme.cs s" title="Aqua" />
<!-- import the calendar script -->
<script type="text/javascript" src="calendar_inc.js"></sc ript>
<script type="text/javascript" src="calendar.js"></script >
<!-- import the language module -->
<script type="text/javascript" src="calendar-en.js"></scr ipt>
</head>
<body>
<table><tr><td class="normaltext"> Date From: <input type="text" id="from_date" name="from_date" class="textboxsmall" value="<?php echo $todays_todate?>"><img align="Center" src="cal.JPG" onclick="return showCalendar('from_date',' %m/%d/%Y', false,fals e);" style="cursor:hand"></td>< /tr></tabl e>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset
<meta name="generator" content="Adobe GoLive" />
<title>Untitled Page</title>
<link rel="stylesheet" type="text/css" media="all" href="/skins/aqua/theme.cs
<!-- import the calendar script -->
<script type="text/javascript" src="calendar_inc.js"></sc
<script type="text/javascript" src="calendar.js"></script
<!-- import the language module -->
<script type="text/javascript" src="calendar-en.js"></scr
</head>
<body>
<table><tr><td class="normaltext"> Date From: <input type="text" id="from_date" name="from_date" class="textboxsmall" value="<?php echo $todays_todate?>"><img align="Center" src="cal.JPG" onclick="return showCalendar('from_date','
</body>
</html>
which browser you are using(check this in IE). did you get any script error?
did you get the calender model. when clicking that image. the same file working here.
you can change format for the date showCalendar('from_date',' %d-%m-%Y', false,fals e)
Regards,
M.Raja
you can change format for the date showCalendar('from_date','
Regards,
M.Raja
ASKER
calendar.tt.def_date_forma t is not object
i got the point, Please put lang folder and opy that file(calendar-en.js) to that folder
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<!-- import the calendar script -->
<script type="text/javascript" src="/scripts/calendar_inc
<script type="text/javascript" src="/scripts/calendar.js"
<!-- import the language module -->
<script type="text/javascript" src="/scripts/lang/calenda
<table><tr><td class="normaltext"> Date From: <input type="text" id="from_date" name="from_date" class="textboxsmall" value="<?php echo $todays_todate?>"><img align="Center" src="../images/cal.JPG" onclick="return showCalendar('from_date','
give me your email id i will send the javascript file
Regards,
M.Raja