Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Turning frequently used code into a function


daveVk - 3:28 am on Oct 10, 2012 (gmt 0)


To check all entries in array, pr.splice(i, 1) needs to be pr.splice(i--, 1) ?.

If you remove say pr[3], what was pr[4] becomes pr[3] and index should not be incremented.


Thread source:: http://www.webmasterworld.com/javascript/4505715.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com