$("input[type=password]").attr("placeholder", "Type your answer here");
// Changes placeholder on password type input $("input[type=password]").attr("placeholder", "Type your answer here");