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/

Reply via email to