Page is a not externally linkable
- Code, Content, and Presentation
---- Turning frequently used code into a function
To check all entries in array, pr.splice(i, 1) needs to be pr.splice(i--, 1) ?.
If you remove say pr, what was pr becomes pr and index should not be incremented.
Brought to you by WebmasterWorld: http://www.webmasterworld.com