An open API service indexing awesome lists of open source software.

https://github.com/tubbo/jquery-defacto

A default text plugin for jQuery that's concise, expandable, and best of all, SIMPLE!
https://github.com/tubbo/jquery-defacto

Last synced: 17 days ago
JSON representation

A default text plugin for jQuery that's concise, expandable, and best of all, SIMPLE!

Awesome Lists containing this project

README

        

Defacto: A default text plugin for humans.
==========================================

jQuery.defacto is a [jQuery][1] plugin that replaces the `value` of a given `` field with the text you type when focused. It allows for default text to be embedded in text/password inputs, and ensures consistent functionality across all browsers. It was designed to be simple, straightforward, and most of all easy to use.

Features
--------

- Cross-browser compatible, tested in Firefox 3.6+, all versions of Chrome/Safari, and Internet Explorer 5.5+
- Changeable default text color

Roadmap
-------

- Dim default text until typing occurs (a la apple.com)
- Leverage existing HTML5 default text features in modern browsers