jquery 表单input-placeholder事件

闾丘照
2023-12-01

<input type="text" value="" placeholder="请输入您的姓名" οnblur="this.placeholder=(this.placeholder=='')?'请输入您的姓名':this.placeholder" οnfοcus="this.placeholder=(this.placeholder=='请输入您的姓名')?'':this.placeholder" style="text-align: center; width: 95%; padding: 8px 5px; font-size: 14px;  float: right;">

转载于:https://www.cnblogs.com/gerry/p/8676586.html

 类似资料: