0

Can anyone help

I have a function trying to add options to a select tag from an array in JavaScript. When I run it there is an error on line 23 please help. https://code.sololearn.com/W2AaMN75GtTF/?ref=app

17th Jul 2022, 3:56 PM
Gray Adamson
Gray Adamson - avatar
2 odpowiedzi
+ 3
Use myFunction(arrTmp, "selRange"); //pass string Instead of myFunction(arrTmp, selRange);
17th Jul 2022, 4:12 PM
Jayakrishna 🇮🇳
0
That worked thanks for your advice
19th Jul 2022, 10:21 AM
Gray Adamson
Gray Adamson - avatar