Answer the question
In order to leave comments, you need to log in
How to pass value of selected variable from php script to javascript (ajax)?
Good afternoon!
The question of how to send a specific value of a variable from a php script to ajax as a response is very interesting.
There is a feedback form that accepts data via ajax. In the php script, in addition to the function for processing the data received from the form, there are also others, so if you return
success: function(res) {
...
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question