jQuery accepts a type option, not a method option.