text: 
    $(document).ready(function(){ 
      
        //identificar los campos en blanco
          $('#txtNombre').blur(function(){
               var mensaje1 = $('#txtNombre').val();
               if(mensaje1==""){ $('#MensError1').html("Este campo es Obligatorio");}});
          $('#txtCorreo').blur(function (){
               var mensaje2=$('#txtCorreo').val();
               if(mensaje2==""){$('#MensError2').html("Este campo es Obligatorio"); }   });
          $('#txtPassword1').blur(function (){
                 var mensaje3=$('#txtPassword1').val();
               if(mensaje3==""){ $('#MensError3').html("Este campo es Obligatorio");}});
          $('#txtPassword2').blur(function (){
                 var mensaje4=$('#txtPassword2').val();
               if(mensaje4==""){ $('#MensError4').html("Este campo es Obligatorio");}});
           //borrar las barras de Error cuando se hace click en caja de texto
           //usamos para todo los cajas de texto
           $('#txtNombre').click(function (){ $('#MensError1').empty();  });
           $('#txtCorreo').click(function (){ $('#MensError2').empty(); });
           $('#txtPassword1').click(function (){ $('#MensError3').empty(); });
           $('#txtPassword2').click(function (){$('#MensError4').empty(); });
          
          $('#txtPassword2').keydown(function (){
              var pass1=$('#txtPassword1').val();
              var pass2=$('#txtPassword2').val();
              if(pass2==pass1){
                  alert("hola mundo");
              }
          });
       
         }); 
   
  !function(){"use strict";function a(a,b){function c(b,c){var d=a.extend({},b);return a.each(c,function(a,b){delete d[b]}),d}function d(b,d){this.options=a.extend({},e,d),this.mapOptions=c(this.options,["target","on","create","destroy","map","update","engine"]),this.entropizer=this.createEngine(this.options.engine),this.ui=this.options.create(b),this.target=a(this.options.target),this.target.on(this.namespace(this.options.on),a.proxy(this._update,this)),this._update()}var e={target:"input[type=password]:first",on:"keydown keyup",maximum:100,buckets:[{max:45,strength:"poor",color:"#e13"},{min:45,max:60,strength:"ok",color:"#f80"},{min:60,max:75,strength:"good",color:"#8c0"},{min:75,strength:"excellent",color:"#0c8"}],create:function(b){var c=a("<div>").addClass("entropizer-track").appendTo(b),d=a("<div>").addClass("entropizer-bar").appendTo(c),e=a("<div>").addClass("entropizer-text").appendTo(c);return{track:c,bar:d,text:e}},destroy:function(a){a.track.remove()},map:function(b,c){var d=a.entropizer.classify(b,c.buckets),e=100*Math.min(1,b/c.maximum);return a.extend({entropy:b,percent:e},d)},update:function(a,b){b.bar.css({"background-color":a.color,width:a.percent+"%"}),b.text.html(a.strength+" ("+a.entropy.toFixed(0)+" bits)")},engine:null};d.prototype={createEngine:function(a){return a&&a.constructor===b?a:new b(a)},namespace:function(b){var c=[];return a.each(b.split(" "),function(a,b){c.push(b+".entropizer")}),c.join(" ")},_destroy:function(){this.target.off(".entropizer"),this.options.destroy(this.ui)},_update:function(){var a=this.target.val(),b=this.entropizer.evaluate(a),c=this.options.map(b,this.mapOptions);this.options.update(c,this.ui)}},a.entropizer={classify:function(b,d){var e;return a.each(d,function(a,c){return(!c.min||b>=c.min)&&(!c.max||b<c.max)?(e=c,!1):void 0}),e?c(e,["min","max"]):null}},a.fn.entropizer=function(a){var b="entropizer";return"destroy"!==a?this.data(b,new d(this,a)):(this.data(b)._destroy(),void this.removeData(b))}}!function(a){"function"==typeof define&&define.amd?define(["jquery","entropizer"],a):"object"==typeof module&&"object"==typeof module.exports?a(require("jquery"),require("entropizer")):a(jQuery,Entropizer)}(a)}();
  //# sourceMappingURL=jquery-entropizer.min.map
        (function($) {
         
             var max = 50;
  $('#valir').entropizer({
      target: '#txtPassword1',
      maximum: max,
      buckets: [
          { max: 20, suffix: 'danger' },
          { min: 20, max: 40, suffix: 'warning' },
          { min: 40, max: 60, suffix: 'success' },
          { min: 60, suffix: 'info' }
      ],
      create: function(container) {
          var wrapper = $('<div>').addClass('progress progress-striped').appendTo(container);
          var bar = $('<div>').addClass('progress-bar')
              .attr({
                  'role': 'progressbar',
                  'aria-valuemin': 0,
                  'aria-valuemax': max
              })
              .appendTo(wrapper);
          return {
              wrapper: wrapper,
              bar: bar
          };
      },
      update: function(data, ui) {
          ui.bar.css({
                  'width': data.percent + '%'
              })
              .attr({
                  'aria-valuenow': data.entropy
              })
              .text(data.entropy.toFixed(0));
          ui.bar[0].className = 'progress-bar progress-bar-' + data.suffix;
      },
      destroy: function(ui) {
          ui.wrapper.remove();
      }
  });
             
          })($); 
   
  
  