Excel Jet

// Get current date // Format date as mm/dd/yyyy or as per your requirement // Set current date as the default value in the input field // Set the current time in the time input field // Format the time as hh:mm var hours = ('0' + now.getHours()).slice(-2); // Adds leading zero if needed var minutes = ('0' + now.getMinutes()).slice(-2); // Adds leading zero if needed // Set the time in the input field // Get the elements // Function to show the map icon if (window.innerWidth > 992) { // Only show icons on larger screens // Function to hide the map icon if (window.innerWidth > 992) { // Only hide icons on larger screens // Show the map icon when the input field is focused // Hide the map icon when the input field is blurred // Ensure icons are hidden on page load if on mobile