Skip to content

Tag: datepicker

Jquery Datepicker: date format is not working?

I am trying to display date in dd/mm/yyyy and the value should be store as yyyymmdd in a variable. dd/mm/yyyy is displayed correct but the value is not storing in format yyyymmdd it is showing as yyyymd like if I select 02/03/2022 it is storing as 202232 which is incorrect as it has to be store as 20220302. A…

jQuery Date Picker- Block a future date range

I have jQuery Date Picker on a Shopify store and have been having some issues trying to block out the upcoming range of dates from 24/12/2021 – 04/01/202 DD MM YY, we will not be operating on these days. Any advice would be very much appreciated, this is the script we are currently using. Answer You nee…

Datepicker on “focus” event in Laravel

I have a datatable where I have the option to edit the date of every record in that table, so I need to use “document on focus” event to get all my datepickers to work. The problem here is that my datepicker only works when I click on the input, if I click in the “icon” it doesn´t work…