https://developer.mozilla.org/en/Cor.../Array/indexOf
Codice PHP:
var indices = [];
var idx = array.indexOf(element);
while (idx != -1)
{
indices.push(idx);
idx = array.indexOf(element, idx + 1);
}
![]()
https://developer.mozilla.org/en/Cor.../Array/indexOf
Codice PHP:
var indices = [];
var idx = array.indexOf(element);
while (idx != -1)
{
indices.push(idx);
idx = array.indexOf(element, idx + 1);
}
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it