Support attr() to get a value