Answers for "how to fill html datalist with array values in javascript"

0

how to fill html datalist with array values in javascript

let str='';
let htmlstring = Names.forEach((name) => {
            str += '<option value="' + name + '" />';
          });

//paste var str into html
Posted by: Guest on August-28-2020

Code answers related to "how to fill html datalist with array values in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language