$("#button").click(function() {
/获取表单中id为idname和count的文本值付给property的两个属性 var property={"idname":$("#pname").val().trim(), "count":$("#count").val().trim()}; //构造place对象 var place={"name":$("#place").val().trim()};$.post(
"SendPropertyInfoAjax.action"
,
{
"property.name"
:$(
"#pname"
).val().trim(),
"property.count"
:$(
"#count"
).val().trim(),
"
place.name"
:
":$("
#place").val().trim()
},function(result){},jeson)
;