异步ajax submit 提交 这样就不用把参数集齐在发送请求了

function pictrue(){
 $("#SubForm1").attr("action", "xxxxxxxxx!ajaxcheck.action");
 $("#SubForm1").ajaxSubmit({
   dataType:"text",
   success:function(data)
   {
    parent.addTab("专题预览","/xxxxxxxxxx?path="+data,"mainFrame");
   }
 });
}

你可能感兴趣的:(submit)