文件名称:autotip

  • 所属分类:
  • WEB源码
  • 资源属性:
  • [JavaScript] [源码]
  • 上传时间:
  • 2016-01-12
  • 文件大小:
  • 29kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • ppu****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

本插件是为输入用户名的提示信息而写的。功能虽然简单但对于做开发的人来说每次写这几行代码也实属繁琐,所以我就把这几行代码写成了jquery的插件以求以后用起来更加便捷。

简单说明:

1.可以自动默认提示信息,若不设置则默认值为:用户名/邮箱

2.当input获得焦点时,input的值会被自动清除;当input失去焦点时,会判断输入值与默认值是否一致,如果一致(或空)则再次显示默认提示信息,若不一致(已输入信息)则input值为所输入值

3.此插件是jquery插件,调用方式为 * $( #xxx ).autoTip() 并可以指定input获得焦点和失去焦点的CSS样式-This plugin is written for the prompt message of the user name. Simple function, but for the development of the people who write these lines of code each time is also very cumbersome, so I put these lines of code written in the jQuery plug-ins in order to use more convenient later.

Simple descr iption:

1 can automatically default prompt information, if you do not set the default value is: user name/mailbox

2. When the input focus, the input value will be automatically cleared when the input to lose focus, will determine the input values and default values are consistent, if consistent (or null) again shows the default message. If not (input) is input values for the input value

3 this plugin is the jQuery plug-in, called* $( #xxx ).AutoTip () and you can specify the input to get the focus and lose the focus of the CSS style
(系统自动生成,下载前可以参看下载内容)

下载文件列表





autotip\index.htm

.......\jquery-1.4.2.min.js

.......\jquery.autotip.js

autotip

.......\说明.htm

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org