I think this is too specialized for any formal core construct, and you may end up writing more code than it is worth...
Try this approach: http://jsfiddle.net/sixtyseconds/36EMA/
I think this is too specialized for any formal core construct, and you may end up writing more code than it is worth...
Try this approach: http://jsfiddle.net/sixtyseconds/36EMA/