Now elem and attr have initialValue attribute.