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