/*该方法执行f2e-server指定服务器支持*/ $.jsonp('data/jsonp.js',{a:3},function(d){ console.log(d); }); $.ajax({ url: "data/note.xml", dataType: "xml", cache: false, success: function(xml){ console.log( $( xml ).children().children() ); } }); $("#form0").on("submit",function(e){ /*该方法执行需要f2e-server服务器支持*/ $.ajax({ url: "/upload?target=demo/data/upload.json&uploadUrl=demo/data/", type: "post", form: this, success: function( json ){ console.log( json ); }, error: function(xhr){ alert( 'wrong' ) } }); return false; });