开发者

PHP bulk form post using ajax

I have a form with 100 fields ,how do i post the data to a php u开发者_StackOverflowsing ajax with out refreshing the page,also i do not want to concatenate the field values without getelementbyid in the xmlhttprequest.

Thanks


in jQuery could be something like

$.post("/path", $("#form-id").serialize(), function(ev){
  alert("done!");
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜