/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
array_name.splice(array_name.indexOf(item_to_remove), 1);
URL: http://wolfram.kriesing.de/blog/index.php/2008/javascript-remove-element-from-array