87,904
社区成员
发帖
与我相关
我的任务
分享
<html >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<title>测试提交</title>
<script src="js/jquery-1.4.2.js" language="javascript"></script>
<script type="text/javascript">
$(document).ready(function ()
{
//$.post()方式:
$("#test_post").click(function (){
alert();
});
});
</script>
</head>
<body>
<p><span>输入姓名:</span><input type="text" id="username" /></p>
<p><span>输入工作:</span><input type="text" id="job" /></p>
<input type="button" id="test_post" value="POST提交">
</body>
</html>