readme.html:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title> Test </title>
</head>
<body>
<label>请输入:<input id="box" style="width:120px;" /></label>
<script type="text/javascript">
function GetValue(){
return document.getElementById("box").value;
}
</script>
</body>
</html>
InternetExplorer对象参考:http://msdn.microsoft.com/en-us/library/aa752084