Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-3 votes
0 answers
20 views

How to define an input html element with type="date" and format "dd/mm/yyyy" [duplicate]

I would like to ask how can i define an input html element with type="date" and a specific data format eg "dd/mm/yyyy". The <input type="date" id="birthday" ...
Nick Lazidis's user avatar
5 votes
1 answer
247 views

Show and hide divs based on date

I'm trying to show hide divs based on date and am experimenting with the following code: I would like to show the div between two dates, and I like to create multiple divs to show at different days of ...
Timothy's user avatar
  • 77
1 vote
0 answers
71 views

How to force HTML date picker to blur after selecting on calendar picker WITHOUT using onChange()?

I have an application where I want to automatically save a user's input, and because of rendering problems outside of my control it would be highly disruptive to save with every keystroke, hence why I ...
Sandra's user avatar
  • 11
-1 votes
1 answer
73 views

How to make a date input match a certain day of the week?

I have an HTML script with date inputs for each day of the week (Sunday-Saturday). I'd like to validate the inputs so that the user can only select dates which match that day of the week. For example, ...
Paul's user avatar
  • 11
1 vote
2 answers
60 views

How to hide 'mm/dd/yyyy' placeholder in HTML date

I'm making an HTML form with a date picker for each day the week. The form is going to be printed at the end. I want to hide the 'mm/dd/yyyy' placeholder when the page is printed. Ideally it would ...
Paul's user avatar
  • 11
1 vote
1 answer
96 views

How to trigger inline script onload?

I have the following script, as seen, it calls the Date method onClick event, like so: <!DOCTYPE html> <html> <body> <p onclick='this.innerHTML = Date();'>click me!</...
iorgu's user avatar
  • 3,142
1 vote
3 answers
53 views

Jquery Reformat date from a string in a tag?

I try to extract and reorganize a date string? 2024-11-21 into 21-11-2024 Any help would be... Helpful :) Thanks I have a string in html <h2 class="tg-item-meta-data tg-element-4">2024-...
pierre wacquier's user avatar
0 votes
0 answers
43 views

How to pass $DATE$ from HTML to JavaScript

I try to write a function that translates a date in English into long date in Polish. The code looks as follows: Html part: <div class="blogitem"> <$HEADING$ class="...
bzc0fq's user avatar
  • 719
0 votes
0 answers
68 views

Space between Text and Icon is not consistent in Input Date (React - Styled Component)

I have two input date attributes. I want to set the space between the text and the icon to 0. My problem is that my CSS code (styled component) works for the first attribute but not for the second (...
Art_Arnaud's user avatar
0 votes
0 answers
43 views

Python html date module fetching incorrect date

I am trying to fetch publication date from a few hyperlinks using the htmldate module but it is fetch incorrect date for a few articles. For example https://blog.cloudflare.com/ja4-signals was ...
New2015's user avatar
  • 29
-1 votes
1 answer
86 views

javascript date increment by one day [closed]

I am trying to increment date by 1 day using javascript date object and print only the ymd format. The result date in the tomorrow variable after slicing is not 26 but 25 why so? const d = new ...
sqlchild's user avatar
  • 9,104
2 votes
3 answers
244 views

How to trigger event on input date select when value is unchanged?

I am pre-selecting a date on <input type='date' /> and want the user to select a date anyway. If the date selected is the same as the pre-selected value, it does not trigger the change event in ...
Z0q's user avatar
  • 1,905
1 vote
1 answer
67 views

set the end date based on start date in the html input field using js

set the difference between start date and end date of 20 months and automatically update in the end date input field. Using only javascript if possible the more details refer to the above one <!...
khonshu's user avatar
  • 33
0 votes
1 answer
39 views

How can I call an API when my calendar (input type date) is closed?

How can I ensure that my API is called only when a date is selected from the calendar or when the Enter button is pressed after manually changing the date field, rather than on every change in a modal ...
Midhun p k's user avatar
1 vote
3 answers
103 views

Read sort and extract file name from HMTL raw text list

I have a file in raw HTML raw text format. It contains a list of files with thousands of lines. The list looks like this: <html> <head><title>Index of /</title></head> &...
markfree's user avatar
  • 183

15 30 50 per page
1
2 3 4 5
95