Answers for "jquery to set placeholder"

0

jquery add input placeholder

$(".hidden").attr("placeholder", "Type here to search");
Posted by: Guest on December-15-2020
0

get the placeholder value jquery

$(elementName).attr('placeholder');
Posted by: Guest on July-28-2020
1

change placeholder text jquery

// Changes placeholder on password type input
$("input[type=password]").attr("placeholder", "Type your answer here");
Posted by: Guest on March-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language