I have an array [\"Lorem\", \"\", \"ipsum\"]. I would like to remove the empty string from this array and get [\"Lorem\", \"ipsum\"].
[\"Lorem\", \"\", \"ipsum\"]
[\"Lorem\", \"ipsum\"]
Is th
var arr = [ a, b, c, , e, f, , g, h ];
arr = jQuery.grep(arr, function(n){ return (n); });
arr is now [ a, b, c, d, e, f, g];