Applying number format on dropdown appended array
arr = jQuery.parseJSON(data); <br>
for(i=0;i<arr.length;i++){<br>
$("#input_car_model").append(new Option(arr[i]['model']+" ("+arr[i]['cnt']+" 대)", arr[i]['model']));
}
Hello, I have a question about number_format
This part "arr[i]['cnt']"
is number, and i want it to be shown like 100,000.
How can I apply number_format in this case?
Thank you!