Hola amigos espero me puedan ayudar
 
tengo un formulario donde el usuario cambiara su contraseña , tengo un requerimiento el cual es que el usuario pueda ver como como se compone su contraseña pero necesito verla en los dos campos , hasta el momento solo puedo hacerlo para un campo. 
estoy utilizando jQuery showPassword Plugin  
http://www.prothemer.com/labs/jquery/showpassword/     
Código Javascript
:
Ver original- $(document).ready(function(){ 
-     $('#contrasena_rep').showPassword(); 
-     $('#contrasena').showPassword('.checker', { text: 'Custom Show Password Text', name: 'showmypass' }); 
-          
- }); 
este es mi formulario   
Código PHP:
Ver original- <form method="post" action="#" id="myform1"> 
- <label>Contraseña Nueva </label> 
- <input type="password" name="contrasena" id="contrasena" class="input-xxlarge"> 
- <div class="clear"></div> 
- <label>Confirmar Contraseña Nueva </label> 
- <input type="password" name="contrasena_rep" value="" id="contrasena_rep" class="input-xxlarge" /> 
jquery.showpassword.js   
Código Javascript
:
Ver original- ;(function($){ 
-     $.fn.showPassword = function(ph, options){ 
-      
-         var spinput = $(this); 
-          
-         $.fn.showPassword.checker = function(cbid, inid){ 
-             $('input[id="'+cbid+'"]').click(function(){ 
-                 if($(this).attr('checked')){ 
-                     $('input.'+inid).val(spinput.val()).attr('id', spinput.attr('id')).attr('name',spinput.attr('name')); 
-                     $('input.'+inid).css('display', 'inline'); 
-                     spinput.css('display', 'none').removeAttr('id').removeAttr('name'); 
-                 }else{ 
-                     spinput.val($('input.'+inid).val()).attr('id', $('input.'+inid).attr('id')).attr('name', $('input.'+inid).attr('name')); 
-                     spinput.css('display', 'inline'); 
-                     $('input.'+inid).css('display', 'none').removeAttr('id').removeAttr('name'); 
-                 } 
-             }); 
-         } 
-          
-         return this.each(function(){ 
-             var def = { classname: 'class', name: 'password-input', text: 'Show Password' }; 
-             var spcbid = 'spcb_' + parseInt(Math.random() * 1000); 
-             var spinid = spcbid.replace('spcb_', 'spin_'); 
-             if (spinput.attr('class') !== '') { var spclass = spinid+' '+spinput.attr('class'); }else{ var spclass = spinid; } 
-             if(typeof ph == 'object'){ $.extend(def, ph); } 
-             if(typeof options == 'object'){ $.extend(def, options); } 
-             var spname = def.name; 
-             // define the class name of the object 
-             if(def.classname==''){ theclass=''; }else{ theclass=' class="'+def.clasname+'"'; } 
-             // build the checkbox 
-             $(this).before('<input type="text" value="" class="'+spclass+'" style="display: none;" />'); 
-             var thecheckbox = '<label><input'+theclass+' type="checkbox" id="'+spcbid+'" name="'+spname+'" value="sp" />'+def.text+'</label>'; 
-             // check if there is a request to place the checkbox in a specific placeholder.  
-             // if not, place directly after the input. 
-             if(ph == 'object' || typeof ph == 'undefined'){ $(this).after(thecheckbox); }else{ $(ph).html(thecheckbox); } 
-             $.fn.showPassword.checker(spcbid, spinid); 
-             return this; 
-         }); 
-     } 
- }) 
- (jQuery);