首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 输入提示的jQuery插件

输入提示的jQuery插件

  • 资源大小:968.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: jquery 插件 输入 提示

资 源 简 介

Creates a span overlaying specified input elements for purposes of displaying text in an input without changing the value. Adapted from the code example at http://kyleschaeffer.com/best-practices/input-prompt-text/ Briefly (taken from the above page): The prompt text appears inside the form field as soon as the page loads, so users immediately know what it’s for. Simple, right? Why it Doesn’t Work There are a number of problems you’ll encounter while implementing prompt text into your forms. Watch out for these caveats when you’re developing your own solution. Input validation — if someone submits the form without first removing the prompt text, your prompt text is submitted in lieu of real data. Fixing this is a pain. Avoiding this entirely is recommended. Prompt style — it’s best to style the prompt text so that it doesn’t look like real form data. Creativity is a virtue, but generally web users will expect light (

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.172401s