how to add commas to input field while typing in js for indian currency code example
Example: jquery number format comma
var number = 1557564534;
document.body.innerHTML = number.toLocaleString();
// 1,557,564,534
var number = 1557564534;
document.body.innerHTML = number.toLocaleString();
// 1,557,564,534