<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.3.2");
</script>
<script>
$(function(){
var msg = "测试";
$('<label>'+ msg + '</label>').appendTo($("body"));
$('<input type="text" id="cs">').attr("value", "5").appendTo($("body"));
});
function s(){
alert($("#cs").val());
}
</script>
</head>
<body>
<input type="button" id="xxx" value="test" οnclick="s()">
</body>
</html>