I use different javascript function. The problem is that they have the same name so they overwrite each other. I would like to put a different name but so far it didn't work.
Here one of the function and how I use it:
<script type="text/javascript">
$(function() {
$('#datepicker').multiDatesPicker({
altField: '#date',
dateFormat: "yy-mm-dd",
});
</script>
<div id="datepicker"></div>
The other function start like this too $(function() {} and use the same way <div id="date"></div>
I try to put $(function name() but it didn't work.
Do you have any idea? Thanks
$syntax? If so, use noConflict() : api.jquery.com/jQuery.noConflict