Reply Review

Reply to:

Jim wrote on 2013-07-29 15:05:43

Figured it out... added:
$myCalendar->setOnChange("myChange()");

And javascript:

<script>
function myChange(){
document.getElementById('myId').value = document.formName.myDateVariable.value;
return true;
}
</script>

Placed javascript right after body tag. The definitions are:

myId = the id of my input field
formName = the name of my form
myDateVariable = Variable name used in
$myCalendar list

Great datepicker script.

Message:
Name:
Email:
(optional)
(Your email that entered here will not show anywhere on website and will use only reference when someone reply your post)
  I want to receive a copy of email on this post (your email is needed)
 
Code:
 
 
Search this site
Programming Tutorial
CSharp (21)
PHP (12)
HTML (12)
ASP (14)