S
S
Sergey2015-11-02 20:10:25
JavaScript
Sergey, 2015-11-02 20:10:25

Why aren't new elements and form data created with jquery being submitted?

hello. There is one web interface, I change the functionality in it. I've made some jquery frontend code that allows me to add some data that I want to process on the backend when submitting the whole form. I add the data, I see it in the interface:

0c76934422204b65a1283c20d36c876f.png

In the firebug I see that there is a hidden input:
644b702780914c0e814c03d2c132120c.png

However, if I want to see the html code of the page, then this data (and inputs) is not in the table:

ab13fdf1346f4f16840c1c5ce87fc5ea.png

In the code, everything is as if I had not added nothing. Why?

On the backend, I do var_dump($_GET)
and the array does not have this new data. What am I doing wrong? The new inputs are inside the form tags. Why are new items not being sent?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
L0k1, 2015-11-02
@butteff

and send, I suppose, with a button <input type="submit">
?
try sending via jquery..serialize() and all that

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question