From 1837aea31f4000fab715c400595d6869e7864a88 Mon Sep 17 00:00:00 2001 From: Erik Montes Date: Wed, 23 Sep 2015 21:00:53 -0700 Subject: [PATCH] Added warning about type=reset problem in docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2165ec3..52a7731 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ npm install * Works in all A-grade browsers, including IE6. * Automatically checks if the browser natively supports the HTML5 `placeholder` attribute for `input` and `textarea` elements. If this is the case, the plugin won’t do anything. If `@placeholder` is only supported for `input` elements, the plugin will leave those alone and apply to `textarea`s exclusively. (This is the case for Safari 4, Opera 11.00, and possibly other browsers.) * Caches the results of its two feature tests in `jQuery.fn.placeholder.input` and `jQuery.fn.placeholder.textarea`. For example, if `@placeholder` is natively supported for `input` elements, `jQuery.fn.placeholder.input` will be `true`. After loading the plugin, you can re-use these properties in your own code. +* Using `` will break the plugin functionality * Makes sure it never causes duplicate IDs in your DOM, even in browsers that need an extra `input` element to fake `@placeholder` for password inputs. This means you can safely do stuff like: ```html @@ -87,7 +88,6 @@ This plugin is available under [the MIT license](http://mths.be/mit). * [Paul Irish](http://paulirish.com/) for his inspiring snippet in [jQuery 1.4 Hawtness #1](http://jquery14.com/day-05/jquery-1-4-hawtness-1-with-paul-irish) * everyone from [#jquery](http://webchat.freenode.net/?channels=jquery) for the tips, ideas and patches -* temp01 for his major contributions * anyone who [contributed a patch](https://github.com/mathiasbynens/jquery-placeholder/contributors) or [made a helpful suggestion](https://github.com/mathiasbynens/jquery-placeholder/issues) _– [Mathias](http://mathiasbynens.be/)_