does jQuery not do this?