When i use slice to remove the first array I keep getting.
My json data is as follow. I'm trying to remove "success:trueCode:TypeError: data.slice is not a function http://localhost/dev/ajax/error.html
My jQuery codeCode:{"success":true,"errOne":"Message One","#errTwo":"Message Two","#errThree":"Message Three"}
Any idea what I'm doing wrong and how to correct this?Code:dataType:"json", cache:false, success: function(data){ $('#errors div').empty(); data.slice(1);



Reply With Quote




Bookmarks