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