When select with jQuery?
$('#test').attr('placeholder', 'Full name test');
vs
$('#test').prop('placeholder', 'Full name test');
Thanks
When select with jQuery?
$('#test').attr('placeholder', 'Full name test');
vs
$('#test').prop('placeholder', 'Full name test');
Thanks
placeholder
is an attribute
If you look at the Jquery docs it has some info on the differences.
https://api.jquery.com/attr/
https://api.jquery.com/prop/