diff --git a/index.html b/index.html index ab71c10..dfe0449 100644 --- a/index.html +++ b/index.html @@ -31,7 +31,7 @@

HTML5 Placeholder jQuery Plugin


- +
diff --git a/jquery.placeholder.js b/jquery.placeholder.js index 5e4d3a3..f98f380 100644 --- a/jquery.placeholder.js +++ b/jquery.placeholder.js @@ -1,5 +1,5 @@ /*! - * jQuery Placeholder Plugin v2.3.0 + * jQuery Placeholder Plugin v2.3.1 * https://github.com/mathiasbynens/jquery-placeholder * * Copyright 2011, 2015 Mathias Bynens @@ -52,7 +52,7 @@ return this.filter((isInputSupported ? 'textarea' : ':input') + '[' + (debugMode ? 'placeholder-x' : 'placeholder') + ']') .not('.'+settings.customClass) - .not(':radio, :checkbox, :hidden') + .not(':radio, :checkbox, [type=hidden]') .bind({ 'focus.placeholder': clearPlaceholder, 'blur.placeholder': setPlaceholder diff --git a/jquery.placeholder.min.js b/jquery.placeholder.min.js index f26ca01..3e33976 100644 --- a/jquery.placeholder.min.js +++ b/jquery.placeholder.min.js @@ -1,5 +1,5 @@ -/* HTML5 Placeholder jQuery Plugin - v2.3.0 +/* HTML5 Placeholder jQuery Plugin - v2.3.1 * Copyright (c)2015 Mathias Bynens - * 2015-11-13 + * 2015-12-16 */ -!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof module&&module.exports?require("jquery"):jQuery)}(function(a){function b(b){var c={},d=/^jQuery\d+$/;return a.each(b.attributes,function(a,b){b.specified&&!d.test(b.name)&&(c[b.name]=b.value)}),c}function c(b,c){var d=this,f=a(this);if(d.value===f.attr(h?"placeholder-x":"placeholder")&&f.hasClass(n.customClass))if(d.value="",f.removeClass(n.customClass),f.data("placeholder-password")){if(f=f.hide().nextAll('input[type="password"]:first').show().attr("id",f.removeAttr("id").data("placeholder-id")),b===!0)return f[0].value=c,c;f.focus()}else d==e()&&d.select()}function d(d){var e,f=this,g=a(this),i=f.id;if(!d||"blur"!==d.type||!g.hasClass(n.customClass))if(""===f.value){if("password"===f.type){if(!g.data("placeholder-textinput")){try{e=g.clone().prop({type:"text"})}catch(j){e=a("").attr(a.extend(b(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-enabled":!0,"placeholder-password":g,"placeholder-id":i}).bind("focus.placeholder",c),g.data({"placeholder-textinput":e,"placeholder-id":i}).before(e)}f.value="",g=g.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",g.data("placeholder-id")).show()}else{var k=g.data("placeholder-password");k&&(k[0].value="",g.attr("id",g.data("placeholder-id")).show().nextAll('input[type="password"]:last').hide().removeAttr("id"))}g.addClass(n.customClass),g[0].value=g.attr(h?"placeholder-x":"placeholder")}else g.removeClass(n.customClass)}function e(){try{return document.activeElement}catch(a){}}var f,g,h=!1,i="[object OperaMini]"===Object.prototype.toString.call(window.operamini),j="placeholder"in document.createElement("input")&&!i&&!h,k="placeholder"in document.createElement("textarea")&&!i&&!h,l=a.valHooks,m=a.propHooks,n={};j&&k?(g=a.fn.placeholder=function(){return this},g.input=!0,g.textarea=!0):(g=a.fn.placeholder=function(b){var e={customClass:"placeholder"};return n=a.extend({},e,b),this.filter((j?"textarea":":input")+"["+(h?"placeholder-x":"placeholder")+"]").not("."+n.customClass).not(":radio, :checkbox, :hidden").bind({"focus.placeholder":c,"blur.placeholder":d}).data("placeholder-enabled",!0).trigger("blur.placeholder")},g.input=j,g.textarea=k,f={get:function(b){var c=a(b),d=c.data("placeholder-password");return d?d[0].value:c.data("placeholder-enabled")&&c.hasClass(n.customClass)?"":b.value},set:function(b,f){var g,h,i=a(b);return""!==f&&(g=i.data("placeholder-textinput"),h=i.data("placeholder-password"),g?(c.call(g[0],!0,f)||(b.value=f),g[0].value=f):h&&(c.call(b,!0,f)||(h[0].value=f),b.value=f)),i.data("placeholder-enabled")?(""===f?(b.value=f,b!=e()&&d.call(b)):(i.hasClass(n.customClass)&&c.call(b),b.value=f),i):(b.value=f,i)}},j||(l.input=f,m.value=f),k||(l.textarea=f,m.value=f),a(function(){a(document).delegate("form","submit.placeholder",function(){var b=a("."+n.customClass,this).each(function(){c.call(this,!0,"")});setTimeout(function(){b.each(d)},10)})}),a(window).bind("beforeunload.placeholder",function(){var b=!0;try{"javascript:void(0)"===document.activeElement.toString()&&(b=!1)}catch(c){}b&&a("."+n.customClass).each(function(){this.value=""})}))}); \ No newline at end of file +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof module&&module.exports?require("jquery"):jQuery)}(function(a){function b(b){var c={},d=/^jQuery\d+$/;return a.each(b.attributes,function(a,b){b.specified&&!d.test(b.name)&&(c[b.name]=b.value)}),c}function c(b,c){var d=this,f=a(this);if(d.value===f.attr(h?"placeholder-x":"placeholder")&&f.hasClass(n.customClass))if(d.value="",f.removeClass(n.customClass),f.data("placeholder-password")){if(f=f.hide().nextAll('input[type="password"]:first').show().attr("id",f.removeAttr("id").data("placeholder-id")),b===!0)return f[0].value=c,c;f.focus()}else d==e()&&d.select()}function d(d){var e,f=this,g=a(this),i=f.id;if(!d||"blur"!==d.type||!g.hasClass(n.customClass))if(""===f.value){if("password"===f.type){if(!g.data("placeholder-textinput")){try{e=g.clone().prop({type:"text"})}catch(j){e=a("").attr(a.extend(b(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-enabled":!0,"placeholder-password":g,"placeholder-id":i}).bind("focus.placeholder",c),g.data({"placeholder-textinput":e,"placeholder-id":i}).before(e)}f.value="",g=g.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",g.data("placeholder-id")).show()}else{var k=g.data("placeholder-password");k&&(k[0].value="",g.attr("id",g.data("placeholder-id")).show().nextAll('input[type="password"]:last').hide().removeAttr("id"))}g.addClass(n.customClass),g[0].value=g.attr(h?"placeholder-x":"placeholder")}else g.removeClass(n.customClass)}function e(){try{return document.activeElement}catch(a){}}var f,g,h=!1,i="[object OperaMini]"===Object.prototype.toString.call(window.operamini),j="placeholder"in document.createElement("input")&&!i&&!h,k="placeholder"in document.createElement("textarea")&&!i&&!h,l=a.valHooks,m=a.propHooks,n={};j&&k?(g=a.fn.placeholder=function(){return this},g.input=!0,g.textarea=!0):(g=a.fn.placeholder=function(b){var e={customClass:"placeholder"};return n=a.extend({},e,b),this.filter((j?"textarea":":input")+"["+(h?"placeholder-x":"placeholder")+"]").not("."+n.customClass).not(":radio, :checkbox, [type=hidden]").bind({"focus.placeholder":c,"blur.placeholder":d}).data("placeholder-enabled",!0).trigger("blur.placeholder")},g.input=j,g.textarea=k,f={get:function(b){var c=a(b),d=c.data("placeholder-password");return d?d[0].value:c.data("placeholder-enabled")&&c.hasClass(n.customClass)?"":b.value},set:function(b,f){var g,h,i=a(b);return""!==f&&(g=i.data("placeholder-textinput"),h=i.data("placeholder-password"),g?(c.call(g[0],!0,f)||(b.value=f),g[0].value=f):h&&(c.call(b,!0,f)||(h[0].value=f),b.value=f)),i.data("placeholder-enabled")?(""===f?(b.value=f,b!=e()&&d.call(b)):(i.hasClass(n.customClass)&&c.call(b),b.value=f),i):(b.value=f,i)}},j||(l.input=f,m.value=f),k||(l.textarea=f,m.value=f),a(function(){a(document).delegate("form","submit.placeholder",function(){var b=a("."+n.customClass,this).each(function(){c.call(this,!0,"")});setTimeout(function(){b.each(d)},10)})}),a(window).bind("beforeunload.placeholder",function(){var b=!0;try{"javascript:void(0)"===document.activeElement.toString()&&(b=!1)}catch(c){}b&&a("."+n.customClass).each(function(){this.value=""})}))}); \ No newline at end of file diff --git a/jquery.placeholder.min.js.map b/jquery.placeholder.min.js.map index 3f4500a..62b7f84 100644 --- a/jquery.placeholder.min.js.map +++ b/jquery.placeholder.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["jquery.placeholder.js"],"names":["factory","define","amd","module","exports","require","jQuery","$","args","elem","newAttrs","rinlinejQuery","each","attributes","i","attr","specified","test","name","value","clearPlaceholder","event","input","this","$input","debugMode","hasClass","settings","customClass","removeClass","data","hide","nextAll","show","removeAttr","focus","safeActiveElement","select","setPlaceholder","$replacement","id","type","clone","prop","e","extend","placeholder-enabled","placeholder-password","placeholder-id","bind","placeholder-textinput","before","prevAll","$passwordInput","addClass","document","activeElement","exception","hooks","placeholder","isOperaMini","Object","prototype","toString","call","window","operamini","isInputSupported","createElement","isTextareaSupported","valHooks","propHooks","fn","textarea","options","defaults","filter","not","focus.placeholder","blur.placeholder","trigger","get","element","$element","set","delegate","$inputs","setTimeout","clearPlaceholders"],"mappings":";;;;CAOC,SAASA,GACgB,kBAAXC,SAAyBA,OAAOC,IAEvCD,QAAQ,UAAWD,GAEnBA,EADyB,gBAAXG,SAAuBA,OAAOC,QACpCC,QAAQ,UAGRC,SAEd,SAASC,GA2JP,QAASC,GAAKC,GAEV,GAAIC,MACAC,EAAgB,aAQpB,OANAJ,GAAEK,KAAKH,EAAKI,WAAY,SAASC,EAAGC,GAC5BA,EAAKC,YAAcL,EAAcM,KAAKF,EAAKG,QAC3CR,EAASK,EAAKG,MAAQH,EAAKI,SAI5BT,EAGX,QAASU,GAAiBC,EAAOF,GAE7B,GAAIG,GAAQC,KACRC,EAASjB,EAAEgB,KAEf,IAAID,EAAMH,QAAUK,EAAOT,KAAMU,EAAY,gBAAkB,gBAAmBD,EAAOE,SAASC,EAASC,aAKvG,GAHAN,EAAMH,MAAQ,GACdK,EAAOK,YAAYF,EAASC,aAExBJ,EAAOM,KAAK,wBAAyB,CAKrC,GAHAN,EAASA,EAAOO,OAAOC,QAAQ,gCAAgCC,OAAOlB,KAAK,KAAMS,EAAOU,WAAW,MAAMJ,KAAK,mBAG1GT,KAAU,EAGV,MAFAG,GAAO,GAAGL,MAAQA,EAEXA,CAGXK,GAAOW,YAGPb,IAASc,KAAuBd,EAAMe,SAKlD,QAASC,GAAejB,GACpB,GAAIkB,GACAjB,EAAQC,KACRC,EAASjB,EAAEgB,MACXiB,EAAKlB,EAAMkB,EAGf,KAAInB,GAAwB,SAAfA,EAAMoB,OAAmBjB,EAAOE,SAASC,EAASC,aAI/D,GAAoB,KAAhBN,EAAMH,MAAc,CACpB,GAAmB,aAAfG,EAAMmB,KAAqB,CAC3B,IAAKjB,EAAOM,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EEA,EAAEgD,UAAU8B,SAAS,OAAQ,qBAAsB,WAG/C,GAAIC,GAAU/E,EAAE,IAAIoB,EAASC,YAAaL,MAAMX,KAAK,WACjDQ,EAAiB4C,KAAKzC,MAAM,EAAM,KAGtCgE,YAAW,WACPD,EAAQ1E,KAAK0B,IACd,QAKX/B,EAAE0D,QAAQhB,KAAK,2BAA4B,WAEvC,GAAIuC,IAAoB,CAExB,KAE8C,uBAAtCjC,SAASC,cAAcO,aACvByB,GAAoB,GAE1B,MAAO/B,IAEL+B,GACAjF,EAAE,IAAIoB,EAASC,aAAahB,KAAK,WAC7BW,KAAKJ,MAAQ","file":"jquery.placeholder.min.js"} \ No newline at end of file +{"version":3,"sources":["jquery.placeholder.js"],"names":["factory","define","amd","module","exports","require","jQuery","$","args","elem","newAttrs","rinlinejQuery","each","attributes","i","attr","specified","test","name","value","clearPlaceholder","event","input","this","$input","debugMode","hasClass","settings","customClass","removeClass","data","hide","nextAll","show","removeAttr","focus","safeActiveElement","select","setPlaceholder","$replacement","id","type","clone","prop","e","extend","placeholder-enabled","placeholder-password","placeholder-id","bind","placeholder-textinput","before","prevAll","$passwordInput","addClass","document","activeElement","exception","hooks","placeholder","isOperaMini","Object","prototype","toString","call","window","operamini","isInputSupported","createElement","isTextareaSupported","valHooks","propHooks","fn","textarea","options","defaults","filter","not","focus.placeholder","blur.placeholder","trigger","get","element","$element","set","delegate","$inputs","setTimeout","clearPlaceholders"],"mappings":";;;;CAOC,SAASA,GACgB,kBAAXC,SAAyBA,OAAOC,IAEvCD,QAAQ,UAAWD,GAEnBA,EADyB,gBAAXG,SAAuBA,OAAOC,QACpCC,QAAQ,UAGRC,SAEd,SAASC,GA2JP,QAASC,GAAKC,GAEV,GAAIC,MACAC,EAAgB,aAQpB,OANAJ,GAAEK,KAAKH,EAAKI,WAAY,SAASC,EAAGC,GAC5BA,EAAKC,YAAcL,EAAcM,KAAKF,EAAKG,QAC3CR,EAASK,EAAKG,MAAQH,EAAKI,SAI5BT,E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AErB,GACIoB,GACAc,EAFA8B,EAAW5E,EAAE2E,EAmBjB,OAfc,KAAV/D,IAEAoB,EAAe4C,EAASrD,KAAK,yBAC7BuB,EAAiB8B,EAASrD,KAAK,wBAE3BS,GACAnB,EAAiB4C,KAAKzB,EAAa,IAAI,EAAMpB,KAAW+D,EAAQ/D,MAAQA,GACxEoB,EAAa,GAAGpB,MAAQA,GAEjBkC,IACPjC,EAAiB4C,KAAKkB,GAAS,EAAM/D,KAAWkC,EAAe,GAAGlC,MAAQA,GAC1E+D,EAAQ/D,MAAQA,IAInBgE,EAASrD,KAAK,wBAKL,KAAVX,GAEA+D,EAAQ/D,MAAQA,EAGZ+D,GAAW9C,KAEXE,EAAe0B,KAAKkB,KAKpBC,EAASzD,SAASC,EAASC,cAC3BR,EAAiB4C,KAAKkB,GAG1BA,EAAQ/D,MAAQA,GAGbgE,IAvBHD,EAAQ/D,MAAQA,EACTgE,KA0BdhB,IACDG,EAAShD,MAAQoC,EACjBa,EAAUpD,MAAQuC,GAGjBW,IACDC,EAASG,SAAWf,EACpBa,EAAUpD,MAAQuC,GAGtBnD,EAAE,WAEEA,EAAEgD,UAAU8B,SAAS,OAAQ,qBAAsB,WAG/C,GAAIC,GAAU/E,EAAE,IAAIoB,EAASC,YAAaL,MAAMX,KAAK,WACjDQ,EAAiB4C,KAAKzC,MAAM,EAAM,KAGtCgE,YAAW,WACPD,EAAQ1E,KAAK0B,IACd,QAKX/B,EAAE0D,QAAQhB,KAAK,2BAA4B,WAEvC,GAAIuC,IAAoB,CAExB,KAE8C,uBAAtCjC,SAASC,cAAcO,aACvByB,GAAoB,GAE1B,MAAO/B,IAEL+B,GACAjF,EAAE,IAAIoB,EAASC,aAAahB,KAAK,WAC7BW,KAAKJ,MAAQ","file":"jquery.placeholder.min.js"} \ No newline at end of file diff --git a/package.json b/package.json index bbff1cf..eddbadd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery-placeholder", - "version": "2.3.0", + "version": "2.3.1", "title": "HTML5 Placeholder jQuery Plugin", "description": "A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet", "author": { diff --git a/simulated.html b/simulated.html index 6c58837..608a7e1 100644 --- a/simulated.html +++ b/simulated.html @@ -31,7 +31,7 @@

HTML5 Placeholder jQuery Plugin


- +