87,992
社区成员
发帖
与我相关
我的任务
分享<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<script type="text/javascript">
<!--
var i = 0;
//-->
</script>
</head>
<body>
<input type="text" id="" size="100" />
<input type="text" id="" size="100" />
<input type="text" id="" size="100" />
<input type="text" id="" size="100" />
<input type="button" value="run" onclick="alert(window.c=function(){return document.getElementsByTagName('input')[i++].value = '你看看我的长度有没有'+i+'个字符呢?';}())" />
<input type="button" value="show window.c" onclick="alert(window.c)" />
</body>
</html>