'glm_foundation',
get_template_directory_uri() . '/js/app.min.js',
array('jquery','jquery-ui-datepicker'),
- '1.0',
+ '1.0.10',
true
);
$ui = $wp_scripts->query('jquery-ui-core');
$input = $_POST['input'];
}
add_action( 'wp_ajax_numGolfers', 'my_ajax_callback_function' ); // If called from admin panel
- add_action( 'wp_ajax_nopriv_numGolfers', 'my_ajax_callback_function' );
+ add_action( 'wp_ajax_nopriv_numGolfers', 'my_ajax_callback_function' );
add_action('wp_enqueue_scripts', 'glm_site_scripts');
// End of the Contextual/Highlight Search functions
-/* This function exists to remove the content from the top of detail pages of
+/* This function exists to remove the content from the top of detail pages of
* the GLm MemberDB plugin.
- */
+ */
//function custom_content($content) {
// global $post;
// if ($_REQUEST['glm_action'] == "detail" ) {
//}
//add_filter('the_content', 'custom_content');
-?>
\ No newline at end of file
+?>
$("form.findARoom").submit(function() {
var date1val = $(this).find("input[name=datepicker1]").val();
var date2val = $(this).find("input[name=datepicker2]").val();
- console.log(date1val);
- console.log(date2val);
var numOfRooms = $(this).find(".num_rooms").val();
var date1valid = false;
var date2valid = false;
$("form.findARoom").submit(function() {
var date1val = $(this).find("input[name=datepicker1]").val();
var date2val = $(this).find("input[name=datepicker2]").val();
- console.log(date1val);
- console.log(date2val);
var numOfRooms = $(this).find(".num_rooms").val();
var date1valid = false;
var date2valid = false;