Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to display items quantity into select input field

let qty = 10;
let numToArray = [...Array.from(Array(qty)).keys()];
//  (10) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
numToArray.map(x =>{
console.log(x)
})
 
PREVIOUS NEXT
Tagged: #display #items #quantity #select #input #field
ADD COMMENT
Topic
Name
8+1 =