标准的发送AJAX到后台的写法如下,这里用jquery来实现的
var xml_data = [{"name":"scene_img_3773_panorama","sceneAttr":{"view":{"hlookat":"1.008","vlookat":"-4.579"},"hotspots":[{"ath":"-4.124","atv":"4.146","linkedscene":"scene_img_7994_panorama","name":"spot1"},{"ath":"-4.124","atv":"8.146","name":"spot2"}]}},{"name":"scene_img_7994_panorama","secenAttr":{"view":{"hlookat":"-3.296","vlookat":"2.283"},"hotspots":[{"ath":"-19.613","atv":"11.459","linkedscene":"scene_img_7984_panorama","name":"spot1"},{"ath":"-75.014","atv":"8.862","linkedscene":"scene_img_3773_panorama","name":"spot2"}]}}];var xml_da