I am trying to use this function to create 2 results from value
function split(val){
return val.split( /,\s*/ );
};
value = "Jim, ";
var terms = split( value );
terms;
All other browsers including IE9, will produce terms = ["Jim", ""]
However, IE8 and probably IE7 produces this : terms = ["Jim"]
Does anyone have any suggestions or alternatives that could possibly work for IE8 ?