Can be found here. Make sure you get the latest version at the bottom of the page (version 0.2). Google Analytics is an advanced hit counter.
If you know the index of the element to remove, you could use the splice method, like this:
var a=['one','two','three','four'];
a.splice(1,1); // Removes 1 element from index 1
alert(a); // Results in 'one','three','four'
If you don’t know the index, but the value of the element, you could add a little method to the Array class like this:
Array.prototype.remove=function(s){
for(i=0;i
}
}
var a=['one','two','three','four'];
a.remove('three');
alert(a); // Results in 'one','two','four'