input hidden val() returns only first word ?
in Using jQuery
•
7 years ago
Hi,
I got a hidden input with a value = "vendredi le 20 mars 2015". I debugged and it is really that string in the input and with the following line I get only the first word "vendredi"
var newdate = $(result).find( "input[type = 'hidden']" ).val();
1