[ad_1]
You can split the list by a comma delimiter and validate each individual element.
$.each(enteredData.split(","), function(i, str){
var esnList = +str;
/* enter validation here */
});
2
[ad_2]
solved How can I make jQuery to check multiple values?