In javascript
for (i = 0; i < ids.length; ++i) {
alert(ids[i]);
}
In jQuery
$.each(ids, function(index, value) {
alert(index + ': ' + value);
});
0
solved How to read each element of an array in jQuery? [closed]
In javascript
for (i = 0; i < ids.length; ++i) {
alert(ids[i]);
}
In jQuery
$.each(ids, function(index, value) {
alert(index + ': ' + value);
});
0
solved How to read each element of an array in jQuery? [closed]