Skip to content

blouk/jQuery-Placeholder-Attribute-Polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Description:
Provides a polyfill for browsers that do not support the placeholder attribute on input elements.

Usage:
$( "input[type=text]" ).placeholder();

$( "input[type=text]" ).placeholder({
	tagName:	"div",
	polyClass:	"placeholder",
	wrapClass:	"placeholder-wrap",
	callback:	function ( e ) {
		// Do something	
	}
});

Note:
Keep the comment with the code please, thanks!

About

Provides a polyfill for browsers that do not support the placeholder attribute on input elements.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published