Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a7d0ee2179
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (30 sloc) 0.92 kb
<!DOCTYPE html>
<meta charset=utf-8>
<script src=""></script>
<script src="../jquery.placeholder.js"></script>
body {font-family: arial, sans-serif;}
input {padding:4px; width:255px; font-family: arial, sans-serif; font-size: 12px;}
.placeholder {color: #aaa;}
<p>Env-JS test. Try setting the values with javascript and then submitting the form.</p>
<form action="">
<input id="test-field" type="text" placeholder="test field" name="test-field">
<button type="submit">Go</button>
$("#test-field").val("this was set with JavaScript");
Jump to Line
Something went wrong with that request. Please try again.