/* MARKUP
*/ $.fn.uaPassword = function(options) { $.fn.extend(this,this.uaString(options)); this. on(EV_CHANGED,function(ev) {//change between 'type' password and text ev.stopImmediatePropagation(); $(this).attr({type: $(this).attr('type')==="password" ? "text" : "password"}); }); return this; };