一、获取form表单的值
例:<form action="#" id="reportForm">
$data=$("#reportForm").serializeArray();
二、地图
//地图
map = new AMap.Map("container", {
resizeEnable: true,
center: [jobs.map_x, jobs.map_y],
zoom: 18
});
var marker = new AMap.Marker({
icon: "http://webapi.amap.com/theme/v1.3/markers/n/mark_b.png",
position: [jobs.map_x, jobs.map_y]
});
marker.setMap(map);