Category "html-input"

How to reset a date in Firefox input[type=date]?

Firefox v57.0.1 supports the attribute "date" for the HTML input tag. I would like in jQuery to reset the date value when the user click on a radio button like

Input[type="date"] autocomplete [closed]

Autocompletion is not working for input[type="date"] with the autocomplete="bday" attribute. I saw that there is no handling of bday in Chromi

Google Chrome is showing the date format yyyy-MM-dd instead of dd/MM/yyyy

The specified value "18/08/2017" does not conform to the required format, yyyy-MM-dd Google Chrome doesn't load date in dd/MM/yyyy format from the controller m

Conditionally make input field readonly in Angular 2 or 4: Advice + Best/which way to do it

I was attempting to answer someone elses question. And in doing so realised there was quite a bit of uncertainty in my mind about a few things. I'm hoping someo

How to get the value of an invalid HTML date input?

I am building a calendar picker to accompany (and replace the default calendar date picker provided by some browsers) an input of type="date". It is documented

Is there a way to trigger a date input's calendar on double click?

I am trying to trigger the <input type="date"> calendar to be shown on a double click event, like a user was clicking on the arrow in the right, but with

How do I set the min attribute for <input type="date"> via h:inputText?

I have the following HTML calendar: <h:inputText t:type="date" value="#{data.dueDate}"> <f:convertDateTime pattern="yyyy-MM-dd"/> </h:inputTe

Kendo DatePickerFor issue in Chrome version 56.0.2924

I am using Kendo DatePickerFor. After I recently updated my Chrome browser, it shows a blank value in the date picker control. I am using it for month selection

Kendo UI datepicker incompatible with Chrome 56

After updating Chrome to version 56.0.2924.76 (64-bit), our Kendo datepickers stopped working. All datepickers were bound using ViewModels, and now they don't s

How can I load value on input date with angular?

I'm programming with Angular 1.5.5 and I'm using Materialize CSS 0.97.6. On my controller, I have $scope.myDate = '2017-01-13T02:06:40' In the HTML file, I have

Input with type "date" doesn't display new value

I have an input with type "date": <input type="date" value="2016-08-16"/> When I load the page I can see that specified date is selected. However, if

Why do input type="date" and "time" load blank on mobile devices even with a value set?

I'm having an issue where I have two inputs of type date and time that have the value attribute are showing up as blank input boxes. Example: <input type="da

How do I compare two dates in HTML? [duplicate]

This is my code: <input type="date" name="startDate" id="startDate" /> <input type="date" name="endDate" id="endDate" /> I want s

best way to format ngModel for input type date

I know input[date] require date type from JSON, then I format ngModel value with new Date(json.date) , it's works 2015-11-15 become Mon Nov 15 2015 02:00:00 GMT

Can I adjust the button styles of Chrome's <input type="date"> datepicker?

Is there any way to change the input type="date" styles from Chrome's default styles? I want to replace the circle button to something else. The circle button s

Is it possible to use angularjs internal 'createDateParser' in directive?

Angular.js internally uses createDateInputType to handle date and time specific input elements with ngModel binding. In this createDateParser is used to parse d

Input type="date" working in Chrome but not in Firefox

I am not so into HTML and I have the following problem into this web page: http://www.saranistri.com/saranistriWPnew/richiesta-online-di-foto-storiche/ If you

How to invoke date picker from date input in javascript? [duplicate]

Chrome has native date picker for <input type="date">: I like it, and it's totally ok with me to have it work only in chrome. The que

How to set the min/max attribute on input type=date

I'm having some problems to set a minimum and a maximum YEAR with HTML5 date input. Here is my code: <input required="required" min="1900-01-01" max="2099-0

Can I convert an HTML date picker to a Hijri calendar format?

I have a small MVC 5 application which uses Arabic culture settings. I have a DateTime property in my model from this Razor syntax: @Html.EditorFor(m => m.S