/************************************************************************************ ** jQuery Placehold version 0.2 ** (cc) Jason Garber (http://sixtwothree.org and http://www.viget.com) ** Licensed under the CC-GNU GPL (http://creativecommons.org/licenses/GPL/2.0/) *************************************************************************************/ (function($){$.fn.placehold=function(options){var opts=$.extend({},$.fn.placehold.defaults,options),supported=$.fn.placehold.is_supported();function toggle(arr){for(i=0;i');elem_stub.focus(function(){toggle([elem,elem_stub]);elem.focus()});elem.hide().after(elem_stub)}}}})};$.fn.placehold.is_supported=function(){return"placeholder" in document.createElement("input")};$.fn.placehold.defaults={placeholderClassName:"placeholder"}})(jQuery);