<!doctype html>
<html>
<head>
<meta charset=" utf-8">
<title> www.osxue.com - 系统学堂</title>
<script type="text/
javascript" src="mytest/jQuery/jquery-1.8.3.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("p").append($("input").map(function(){
return $(this).val();
}).get().join(", "));
})
</script>
</head>
<body>
<div>
<p>值:</p>
<form>
<input type="text" name="name" value="系统学堂"/>
<input type="text" name="password" value="123456"/>
<input type="text" name="url" value="http://www.osxue.com"/>
</form>
</div>
</body>
</html>