how to change placeholder value with jquery code example
Example 1: change input placeholder text jquery
$("input[type=password]").attr("placeholder", "Type your answer here");
Example 2: get the placeholder value jquery
$(elementName).attr('placeholder');
Example 3: change placeholder text jquery
// Changes placeholder on password type input
$("input[type=password]").attr("placeholder", "Type your answer here");