Skip to content

yeikos/jquery.placeholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery.placeholder v1.5.0

What is this?

It's a plugin for jQuery that enables you to used the placeholders if your browser don't support it.

Features

Compatible with all browsers IE6+, Chrome, Firefox, Opera, Safari...
It's clean, effective and not intrusive
Input text/password and textarea are supported

Demo online

http://jsfiddle.net/yeikos/QaA7E/

Example

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/yeikos/jquery.placeholder/jquery.placeholder.js"></script>

<script type="text/javascript">

	$(function() {

		$.placeholder();
		
	});
	
</script>

<input type="text" placeholder="Email" />
<input type="password" placeholder="Password" />

About

jQuery Plugin Placeholder HTML5

Resources

Stars

Watchers

Forks

Packages

No packages published