add placeholder using jquery in p tag code example Example: jquery add input placeholder $(".hidden").attr("placeholder", "Type here to search");