Full threadassane101·I don't know for Reatjs but you can be shorter with jQuery : http://jsbin.com/pumocohiyu/1/edit?html,css,js,outputView on HN