Skip to content

Instantly share code, notes, and snippets.

@shokai
Created June 27, 2010 06:29
Show Gist options
  • Save shokai/454709 to your computer and use it in GitHub Desktop.
Save shokai/454709 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>form set value</title>
<script type="text/javascript">
window.onload = function(){
document.getElementById("input_01").value = "test test test";
};
</script>
</head>
<body>
<h1>form set value</h1>
<input id="input_01" size="30" />
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment