How can I create a class for datepicker script?
I am not a coder and am new to jquery. I am using a datepicker script and I need it to appear in more than one place on the page. I asked in another forum but only got as far as the advice to "create a class" before his patience ran out. I am not sure if he meant a css class or something within the js file. Any help would be GREATLY appreciated. :) This is the script I have in the head tag:
<link rel="stylesheet" href="jquery-ui-datepicker.css">
<script src="jquery-1.10.2-datepicker.js"></script>
<script src="jquery-ui-datepicker.js"></script>
<script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>