资 源 简 介
NOTICE: jquery-input-replacement has moved! Please use the Github repository instead. The code for this plug-in is no longer updated here.
Overview
Places text within an input that gets replaced when a user clicks in the input.
Useful if you need to have a search box with a predefined piece of text that, when clicked, gets replaced.
Some other benefits are that if you predefine a value for the field, it will stay as is and not get replaced. Also, if you are using this for a username/password field and the user has their browser remember the username/password, it will not replace those values either, making it more user friendly.
Please see the video below to see how it works (at screencast.com):
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报