Changing the format of the datepicker.
Hi
I'm really a nube to this, so please bear with me.
I am using this datepicker that I got on this site. I would like to change the format of the date to mm-yyyy
I also would like to know how can I get the date and use it in a href on my site.
Ex: replace the 05-2014 with the date from the datepicker?
Thanks.
- <li><a href="http://apmtl067/storage/reportData/ddgraphs/ORA_space_05-2014.svg" target="content" class="underline">Oracle</a></li>
- <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Datepicker - Default functionality</title>
<link rel="stylesheet" href="css/jquery-ui-1.10.4.custom.min.css">
<script src="js/jquery-1.10.2.js"></script>
<script src="js/jquery-ui-1.10.4.custom.js"></script>
<script>
$(function() {
$( "#datepicker" ).datepicker();
</script>
</head>
<body>
<p>Date: <input type="text" id="datepicker"></p>
</body>