Answer the question
In order to leave comments, you need to log in
How to display data keys as variable values in jquery?
Good afternoon,
There is an ajax request:
csrfTokenName = 'xxx';
csrfTokenName = 'yyy'
ajax({
...
data:{
csrfTokenName : csrfToken,
}
...
Answer the question
In order to leave comments, you need to log in
Collect this array before feeding it to the data parameter and that's it. The easiest.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question