P
P
paulvales2015-08-17 15:04:31
JavaScript
paulvales, 2015-08-17 15:04:31

Why is WordPress template eating images?

Hello, Pioneer template, I insert images on the page. But when the page loads, they appear for a couple of milliseconds and disappear. As if they were removed by a java script. But this is through time. The problem can be observed on the page above the inscription

Private bailiff of the executive district of Kostanay Kuzhin Darkhan Uteshovich
Who faced? What can be done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThunderCat, 2019-02-13
@ThunderCat

1) I'm not sure, but maybe you're calling the wrong script from Ajax.
2) in the presented code, there is no sending to email. (This is what suggests that this is not the right script)
3) it is considered normal practice to set required fields to required, this simplifies the logic of zhs.

M
Mikhail Vlasov, 2019-02-14
@Whiled0S

Just remove the action from the form and use the fetch API for the POST request , it will be without reloading and it will be easier. Hang a click event handler on the button, in it you will simply get the necessary data from the form, then use fetch and put this same data in the request body. On the server, already write the necessary data processing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question