I believe `.attr()` accepts a hash of attribute/values.