Last active
September 13, 2017 13:28
-
-
Save jamesallardice/5221826 to your computer and use it in GitHub Desktop.
A simple example to enable Placeholders.js with non-live settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html data-placeholder-live="false"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Placeholders.js Default Config</title> | |
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css"> | |
</head> | |
<body class="placeholder-example"> | |
<input type="text" placeholder="I have a placeholder!"><br> | |
<input type="password" placeholder="Password placeholders!"><br> | |
<textarea placeholder="We can't be changed via script"></textarea> | |
<script src="assets/js/placeholders.min.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not working