Answer the question
In order to leave comments, you need to log in
Ajax form doesn't always work, what's the problem?
The site has an ajax form in a popup.
No problems were observed in the Mozilla browser.
But in Chrome, the form is sometimes not submitted, but simply reloaded.
It turned out that when sending an incorrect request, a request is generated:
------WebKitFormBoundarycJPV0A7DKeMQCCWB
Content-Disposition: form-data; name="bxajaxid"
711f70a1ad08316370a269ab274c9f77
------WebKitFormBoundarycJPV0A7DKeMQCCWB
Content-Disposition: form-data; name="AJAX_CALL"
Y
------WebKitFormBoundarycJPV0A7DKeMQCCWB
Content-Disposition: form-data; name="sessid"
3dd17e638457837c0cf56ed2553efdd0
------WebKitFormBoundarycJPV0A7DKeMQCCWB
Content-Disposition: form-data; name="WEB_FORM_ID"
6
------WebKitFormBoundarycJPV0A7DKeMQCCWB
Content-Disposition: form-data; name="sessid"
3dd17e638457837c0cf56ed2553efdd0
------WebKitFormBoundarycJPV0A7DKeMQCCWB
Content-Disposition: form-data; name="form_text_27"
3333
------WebKitFormBoundarycJPV0A7DKeMQCCWB
Content-Disposition: form-data; name="form_text_28"
+7 (333) 333-33-33
------WebKitFormBoundarycJPV0A7DKeMQCCWB--
------WebKitFormBoundaryisu1U9fggXBZcN6I
Content-Disposition: form-data; name="bxajaxid"
711f70a1ad08316370a269ab274c9f77
------WebKitFormBoundaryisu1U9fggXBZcN6I
Content-Disposition: form-data; name="AJAX_CALL"
Y
------WebKitFormBoundaryisu1U9fggXBZcN6I
Content-Disposition: form-data; name="sessid"
3dd17e638457837c0cf56ed2553efdd0
------WebKitFormBoundaryisu1U9fggXBZcN6I
Content-Disposition: form-data; name="WEB_FORM_ID"
6
------WebKitFormBoundaryisu1U9fggXBZcN6I
Content-Disposition: form-data; name="sessid"
3dd17e638457837c0cf56ed2553efdd0
------WebKitFormBoundaryisu1U9fggXBZcN6I
Content-Disposition: form-data; name="form_text_27"
333
------WebKitFormBoundaryisu1U9fggXBZcN6I
Content-Disposition: form-data; name="form_text_28"
+7 (333) 333-33-33
------WebKitFormBoundaryisu1U9fggXBZcN6I
Content-Disposition: form-data; name="web_form_submit"
submit
------WebKitFormBoundaryisu1U9fggXBZcN6I--
Answer the question
In order to leave comments, you need to log in
web_form_submit is like a button, can it be removed via JS? Or maybe on enter sending does not hook the button?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question