get an array with ajax and put it on select | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
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