daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 58 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. $.post('php/cargarPreguntas.php', {}, function(datos, textStatus, xhr) {
  2.  
  3.     var tmpIdx  = 0;
  4.     var tds     = '';
  5.  
  6.     $.each(datos, function(indice, val) {
  7.         if (tmpIdx !== val.idCat){
  8.             if (tmpIdx !== 0){
  9.                 tds += '</div>'
  10.             }
  11.             tmpIdx = val.idCat;
  12.             tds += '<h3 title="' + val.catDesLar + '">' + val.catDesCor + '</h3>';
  13.  
  14.             tds += '<div>';
  15.         }
  16.         tds += '</br>';
  17.         tds += '<div class="row">';
  18.             tds += '<div class="col-sm-2">';
  19.                 tds += '<h8>' + val.idCat + '.' + val.idPre + '</h8>';
  20.             tds += '</div>';
  21.         tds += '</br>';
  22.             tds += '<div class="col-sm-6">';
  23.                 tds += '<h9 title="' + val.preDescLar + '">' + val.preDesCor + '</h9>';
  24.  
  25.             tds += '</div>';
  26.  
  27.                 tds += '</br>';
  28.  
  29.         tds += '</br>';    
  30.             tds += '<div class="col-sm-2">';
  31.     tds += '<div id="javier">';
  32.              tds += '<h6 style="color:#0B93A8;"> CUMPLE </h6>';
  33.  
  34.  
  35.  
  36.                 tds += "<select class='txtFormulario_Pregunta' id='txtFormulario_Pregunta_" + val.idPre + "' rel='" + val.idPre + "'>";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top