jquery set placeholder code example
Example 1: change input placeholder text jquery
$("input[type=password]").attr("placeholder", "Type your answer here");
Example 2: jquery add input placeholder
$(".hidden").attr("placeholder", "Type here to search");
Example 3: set placeholder javascript
document.querySelector('.gfield_list_cell.gfield_list_72_cell3 input').setAttribute('placeholder','$');