微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

jQuery.CoolInput

程序名称:jQuery.CoolInput

授权协议: 未知

操作系统: 未知

开发语言:

jQuery.CoolInput 介绍

CoolInput is a simple plugin, inspired by Remy Sharp’s “hint
plugin”
that
basically creates default text for input Boxes.

The default text is derived from the input’s title attribute by default and is
displayed grayed out in the content area and disappears when the input gains
focus and re-appears if no changes are made appears when it loses focus.

Customization options include:

  • changing the blurred style
  • submitting or not the default text in the case of a blank submit
  • adding an optional style to the input Box (useful for those spotlight search icons)
  • New! Use any attribute to determine default-text, no longer limited to title attribute
  • Newer! Fixed a bug with the “clear hint on submit” feature, where if the inputted text was exactly the same as the hint it would not submit

Last update: 17/09/2008

-Alex

jQuery.CoolInput 官网

http://plugins.jquery.com/project/CoolInput

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐