Skip to content

Instantly share code, notes, and snippets.

@yeikos
Created September 6, 2011 08:35
Show Gist options
  • Save yeikos/1196966 to your computer and use it in GitHub Desktop.
Save yeikos/1196966 to your computer and use it in GitHub Desktop.
Example jQuery Placeholder 1
<!DOCTYPE HTML><html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="https://raw.github.com/yeikos/jquery.placeholder/master/jquery.placeholder.js"></script>
<script type="text/javascript">
$(function() {
$.placeholder();
});
</script>
</head>
<body>
<input type="text" placeholder="Email">
<input type="password" placeholder="Password">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment