Try wrapping the trigger in a standalone callback.
jQuery(function() {
jQuery( "#datetimepicker" ).datetimepicker({
onClose:function(ct,$i){
my_callback();
}
});
function my_callback() {
jQuery( 'body' ).trigger( 'update_checkout' );
}
});
Related Posts:
- get all products of one category
- Show special field when correct shipping is chosen
- Trying to run a Ajax request from a checkout form in woocommerce via a custom plugin
- “add to cart” links css class “ajax_add_to_cart” doesn’t show in woocommerce in widget sidebar
- Trigger a JavaScript function based on the data fetched from Woo commerce hook
- Return custom product in ajax call loop
- What is nonce and how to use it with Ajax in WordPress? [duplicate]
- Build path for a custom portfolio plugin
- WooCommerce get Shipping Class of product from either the product id or the order after order is completed
- Using AJAX in a plugin to submit form – REALLY confused
- Adding callback function for wp_ajax_ has no effect
- Get returned variable from a function to add_shortcode function
- Woocommerce add custom button to backend order table
- How do I hook a custom discount to change a WC_Order price total on WooCommerce?
- WP_LOCALIZE_SCRIPT doesn’t work
- Admin-ajax.php appending a status code to ajax response
- Print value of an array or variable in a payment plugin
- Cannot search post by taxonomy
- WordPress Ajax callback function from plugin – OOP
- $wpdb -> Batch insert from XML File?
- WP AJAX is not working, always returns 0
- Frontend Ajax call not working using wp_ajax, wp_enqueue_script and wp_localize_script
- Fetching the value of forms in WordPress AJAX
- How do I add custom column to woocommerce cart?
- Any problem in using native jquery ajax style instead of using admin-ajax.php?
- WooCommerce Conditional Tag inside plugin
- Custom attribute type not displaying terms in edit product – WooCommerce
- update woocommere total value on checkout based on selected payment method
- how to add custom functionality after woocommerce place order button
- Adding a brand column to WooCommerce Products
- How to localize admin.php only once
- Create a new post using rest api and save featured image using an external image url
- “import declarations may only appear at top level of a module” when importing WooCommerce API node module
- Woocommerce extend tax report with custom column
- wp.template() returns tags in Ajax response
- How to get Metabox custom field to show checked if value is updated using post meta query?
- How to restrict access to image folder depending on whether product is purchased or not?
- woocommerce_checkout_order_processed hook executing function twice
- Is there a way in which I can compare product id with the order id to display content on front end before placing the order? [closed]
- Use just a shortcode from another page
- Update Data parameter of a wp_localize_script() call
- UWooCommerce – add cart discount programmatically?
- jquery & ajax sending data to php
- Can’t get AJAX call working in custom plugin
- Bad Request in AJAX
- 400 Bad Request, in wordpress theme development, wp_ajax
- ajax recursive calls on wordpress returning answers outsite the function scope
- Ajax submit result opens in admin-ajax.php
- Are there any security risks when submitting data-attribute data through AJAX?
- Woocommerce inventory [closed]
- Data not insert and update through ajax and jQuery in admin page?
- WP ajax requests not stacking?
- WooCommerce Endpoints content
- How to call code when adding WooCommerce menu items via woocommerce_account_menu_items
- AJAX button with success callback. (Titan Framework)
- Custom Plugin Options Won’t Update
- AJAX call returns ‘testtest0’ instead of ‘test’ – why?
- add_action wp_ajax_ not loading in plugin file WP Network
- Why is the form not updating when I select a new sector from the list?
- Plugin Form Submitting to admin-ajax.php instead of admin-post.php
- Ajax +wordpress onClick link redirect to new page and create html content
- Get cat parameter from admin-ajax
- WordPress (pagenow link) in ajaxurl change after i change plugin language
- Change reminder email date to 14 days before
- How to make every image title equal to alt text(wordpress/woocommerce)?
- Jquery php request is returning a weird result
- Posts form with AJAX request – Plugin development
- product-attribute-slug-is-too-long-28-characters-max
- Does $this context change in an AJAX callback?
- Getting products information, in woocommerce based on products ID
- WC REST API Error Handling
- want to confirm popup with “Yes” and “No” button when user click on add to cart
- How to remove the WooCommerce Product->Category thumbnail from admin [closed]
- Performing ajax request in wordpress
- Inserted data from database does not showing on front-page without referesh page?
- Override WooCommerce files from plugin
- ajax multiple Values
- woocommerce add a new bulk action in the bulk actions dropdown in the orders list
- Using JavaScript in WordPress page to call for server data using AJAX
- wp_ajax add_action fuction won’t fire on custom jQuery action
- Ajax Response Error | just getting error as the response
- external Integration with wordpress timeout error
- admin-ajax.php returns “No Script Kiddies!” sometimes
- Handle changed Woocommerce function
- Making Woocommerce optimized for more than 500k products
- Ajax functionality not being called under wordpress plugin
- Array/List Edit in Backend
- WP Cron as Fast as WordPress AJAX?
- Declaring a new woo commerce product type i get this error
- WordPress plugin: admin-ajax.php not passing data to custom function
- Ajax url value to pass ‘variable’ to use in query
- Ajax functions – no access to wp-admin.php only online
- How to only Load scripts on variable products page
- How to design WooCommerce-like admin tabs for plugin settings page?
- Woocommerce: block user removing cart item
- PHPUnit Ajax Serialization of ‘Closure’ is not allowed
- WooCommerce adds a newline symbol (\n) between email recipients
- Allow HTML in product attributes and variation for WooCommerce
- How do I add multiple custom menu Woo-commerce my account page?
- High-Performance Order Storage conflict action `manage_shop_order_posts_custom_column`