I am facing a bit weird problem while splitting out a string in jQuery. For some reason I am getting following exception
TypeError: Object [object Array] has no method 'split'
i have attached one image that displays the data n exception on browser.
n
Code Snippet:
**skill List contains [Array[4], Array[4], Array[4], Array[4],
Array[4], Array[4], Array[4], Array[4], Array[4], Array[4], Array[4]] and every array has following structure** 0: Array[4] 0: "NWDS" 1: "NWDS " 2: 1 3: 1 length: 4**
$.each(skillsList, function(index, item) {
var array = skillsList[index].split(',');
});