Form Example Plugin

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 12:29:02

软件介绍

Populate form fields with example text that disappears on focus.

Example Usage

Simple usage:

$('input#name').example('Bob Smith');

Using a custom class name instead of the default example:

$(':input').example('Fill me in!', {className: 'special_example'});

New in 1.3: specifying the example text with a callback:

$('input[@title]').example(function() {
    return $(this).attr('title');
});

Options

Supports one option:

  • className: Sets the class name of the example text for use in a stylesheet (by default it is example).

This plugin is fully compatible with the Metadata plugin, allowing you to set the example text via the example property and the standard className property in elements themselves.

<input type="text" class="{example: 'Name here', className: 'special'}">

Please see README.markdown for further information.

This plugin is compatible with jQuery 1.1 and newer.

Dual-licensed under the BSD and GPL licenses.

本文地址:https://codercto.com/soft/d/23142.html

伟大创意的诞生

伟大创意的诞生

史蒂文·约翰逊 (Steven Johnson) / 盛杨燕 / 浙江人民出版社 / 2014-8-1 / CNY 52.90

 大家都认得出好创意。印刷机、铅笔、抽水马桶、电池、互联网、GPS、Google——这些都是绝妙的创意。然而,它们是如何产生的?被喻为“科技界的达尔文”的作者,在《伟大创意的诞生》一书中,提供了深具启示意义以及有论证实据的答案。  作者史蒂文•约翰逊以富有感染力、包罗万象的风格游历于多重领域,从神经生物学、都市研究,到网络文化,找出了独特创新背后的7大关键模式,深入人类600年重要发明的......一起来看看 《伟大创意的诞生》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具