Need to have dateFormat for the datepickers.
'glm_foundation',
get_template_directory_uri() . '/js/app.js',
'jquery',
- '1.0.17',
+ '1.0.18',
true
);
wp_enqueue_script('jquery-ui-datepicker');
$( "#input_3_3" ).datepicker({
showOn: "both",
buttonImage: "http://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
- buttonImageOnly: true
+ buttonImageOnly: true,
+ dateFormat: "mm/dd/yy"
});
$( "#input_4_6" ).datepicker({
showOn: "both",
buttonImage: "http://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
- buttonImageOnly: true
+ buttonImageOnly: true,
+ dateFormat: "mm/dd/yy"
});
$( "#input_5_20" ).datepicker({
showOn: "both",
buttonImage: "http://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
- buttonImageOnly: true
+ buttonImageOnly: true,
+ dateFormat: "mm/dd/yy"
});
// caching menu elements
$('#cam6').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAnimalCam.jpg?b=' + Math.random());
$('#cam7').attr('src','http://www.weather.gov/images/apx/webcam/webcam.jpg?b=' + Math.random());
}, 10000);
-
+
var newsTicker = $('.mtphr-dnt-tick.mtphr-dnt-default-tick.mtphr-dnt-clearfix').children('a').css("color", "White").css("text-decoration","underline");
-
-
+
+
/* get number of elements in DOM console.log($("*").length);
$( "#input_3_3" ).datepicker({
showOn: "both",
buttonImage: "http://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
- buttonImageOnly: true
+ buttonImageOnly: true,
+ dateFormat: "mm/dd/yy"
});
$( "#input_4_6" ).datepicker({
showOn: "both",
buttonImage: "http://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
- buttonImageOnly: true
+ buttonImageOnly: true,
+ dateFormat: "mm/dd/yy"
});
$( "#input_5_20" ).datepicker({
showOn: "both",
buttonImage: "http://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
- buttonImageOnly: true
+ buttonImageOnly: true,
+ dateFormat: "mm/dd/yy"
});
// caching menu elements
$('#cam6').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAnimalCam.jpg?b=' + Math.random());
$('#cam7').attr('src','http://www.weather.gov/images/apx/webcam/webcam.jpg?b=' + Math.random());
}, 10000);
-
+
var newsTicker = $('.mtphr-dnt-tick.mtphr-dnt-default-tick.mtphr-dnt-clearfix').children('a').css("color", "White").css("text-decoration","underline");
-
-
+
+
/* get number of elements in DOM console.log($("*").length);
Author: Gaslight Media
Author URI: http://www.gaslightmedia.com
Description: A theme for OtsegoCounty
-Version: 1.0.29
+Version: 1.0.30
*/