I'm trying to remove the first element from array which I getting from xml file. I tried to use splice method but it doesn't work. Can someone help me?
.ajax({
type: "GET",
url: 'my.xml',
dataType: "xml",
success: function(xml) {
var array = [];
var data = $.xml2json(xml)['#document'];
that.array = data.contacts;
}
})
data:
