<input type="date">
How to get this value using jquery?
認(rèn)證高級PHP講師
For thisinput
加一個(gè)id
,比如<input type="date" id="id_date">
,獲取值就直接這樣獲取$('#id_date').val();
If you use the above type to get it, if there are multiple ones, you will get multiple ones at the same time. If you want to specify a certain one, use id