118
rated 0 times
[
122]
[
4]
/ answers: 1 / hits: 17183
/ 12 Years ago, wed, november 7, 2012, 12:00:00
I'm iterating through an array of json data but need to remove the first element prior to the iteration. How do I remove the initial element? This is what I have so far:
$.post('player_data.php', {method: 'getplayers', params: $('#players_search_form').serialize()}, function(data) {
if (data.success) {
// How do I remove the first element ?
$.each(data.urls, function() {
...
});
}
}, json);
More From » jquery