I am trying to populate a dropdown select with an array using jQuery.
Here is my code:
// Add the list of numbers to the drop down here
var qty = 5; var option = ''; for (var i=1;i <= qty;i++){ option += '' + i + ''; } $('#items').append(option);