0

get an array with ajax and put it on select

hi, i need get an php array with ajax and put it on select,option tag i write the code but not working

15th Mar 2019, 5:02 PM
šŸ‡®šŸ‡·Mostafa 9112šŸ‡®šŸ‡·
šŸ‡®šŸ‡·Mostafa 9112šŸ‡®šŸ‡· - avatar
1 Answer
0
Wel you could return a json with json_encode() function i guess than catch the result data from ajax as json then u could use your var as a json object or convert it into an array
20th Mar 2019, 8:54 PM
bxhd