Advertisement
Guest User

asdfasdf

a guest
Nov 27th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.88 KB | None | 0 0
  1. <div class="container">
  2.   <div class="row">
  3.     <div class="col-lg-3">
  4.       <a href="http://www.memory.com.br" target="_blank"><img src="http://localhost/cobranca_memory/assets/image/" /></a>
  5.     </div>
  6.     <div class="col-lg-9" style="text-align: center;">
  7.       <a href="http://localhost/cobranca_memory/principal"><img class="img-responsive" src="http://localhost/cobranca_memory/assets/image/" /></a>
  8.     </div>
  9.   </div>
  10.   <p class="lead"></p>
  11. </div>
  12. <h1 style="text-align: center;"><div style='text-align:center;' class='alert alert-success alert-dismissable'><button type='button' class='close' data-dismiss='alert' aria-hidden='true'>&times;</button><a href='#' class='alert-link'>OK! A sua preferência foi registrada com sucesso! Obrigado!</a></div></h1>
  13. <hr /><div style="width: 100%; height: 200px; background-color: #191616; margin-top: 30px;">
  14.   <div id="footer">
  15.     <div class="container">
  16.       <p class="text-muted"></p>
  17.     </div>
  18.   </div>
  19. </div>
  20.  
  21.  
  22.  
  23. <!-- Bootstrap core JavaScript
  24. ================================================== -->
  25. <!-- Placed at the end of the document so the pages load faster -->
  26. <script src="http://localhost/cobranca_memory/assets/js/jquery.js"></script>
  27. <script src="http://localhost/cobranca_memory/assets/js/bootstrap.js"></script>
  28. <script src="http://localhost/cobranca_memory/assets/js/jquery.maskedinput.min.js"></script>
  29.  
  30. <script type="text/javascript" src="http://localhost/cobranca_memory/assets/js/jquery.fancybox.js"></script>
  31. <script type="text/javascript" src="http://localhost/cobranca_memory/assets/js/jquery.mousewheel.pack.js"></script>
  32.  
  33. <script>
  34. $(document).ready(function(){
  35.  
  36.   $('#cpf').mask('999.999.999-99');
  37.   $('#tel').mask('(99)9999-9999?9');
  38.   $('#cep').mask('99.999-999');
  39.   $('.dat').mask('99/99/9999');
  40.  
  41.   $('#estado').change(function(){
  42.  
  43.     var valor = $(this).find(':selected').val();
  44.  
  45.     if(valor != ''){
  46.  
  47.       $.ajax({
  48.         type:"POST",
  49.         url: "http://localhost/cobranca_memory/site/inscricao/listarMunicipios",
  50.         data: { estado: valor },
  51.         dataType: "json",
  52.         beforeSend: function(){
  53.           $('#municipio').html('<option>Aguarde o preenchimento...</option>');
  54.         },
  55.         complete: function(){
  56.           //
  57.         },
  58.         success: function(json){
  59.           var options = "";
  60.           options += '<option>Selecione um municipio</option>';
  61.           $.each(json, function(key, value){
  62.            options += '<option value="' + value.cod_municipio + '">' + value.des_municipio + '</option>';
  63.           });
  64.  
  65.           $("#municipio").html(options);
  66.         }
  67.  
  68.       });
  69.     }
  70.   });
  71.  
  72.   $('#entidade').change(function(){
  73.  
  74.     var valor = $(this).find(':selected').val();
  75.  
  76.     if(valor == 'outros'){
  77.       $('#esconde').show();
  78.     }else{
  79.       $('#esconde').hide();
  80.     }
  81.  
  82.   });
  83.  
  84.   $('.fancybox').fancybox();
  85.  
  86. });
  87. </script>
  88.  
  89. </body>
  90. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement