简体   繁体   中英

ajax post big data Jquery

I am facing problem for sending big form data using ajax function to server ie php page. In my page html input fields will add by users for making a quote. And user add many fields then all datas wont posted to server php page. Only some information will save in database and others will lost.

I have used post method in ajax function.

If you have any suggestion for this problem please suggest me.

Detect place of the problem

Check POST request. Did you see there your data. In case you see - there is only one reason some where on the server. It couldn't be limit of the post - because in this case you will never get any information on the server and all request would be cancelled. Another place is in your javascript: 1. you make mistake in name of field 2. bug some where in library 3. bug in your code.

try to debug javascript and understand what happen there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM