$(".seachText").attr(“placeholder”,“请输入基金代码/名称/简称”); 来自: https://blog.csdn.net/weixin_34007020/article/details/92613955