/ Published in: JavaScript
I saw a lot of bad javascritp foreach examples ... so here is the best solution. See the link (german) for another snippet to iterate over object properties via foreach.
URL: http://www.naden.de/blog/javascript-foreach