Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- beforeSend: function(){
- $("#load").html('<p>cargando<p>');
- },
- url:'/controlpublicacion/consulta_prueba.php',
- type:'POST',
- dataType:'json',
- data:{
- consulta:"conultar",
- id:$(this).attr('ide')
- },
- //'consulta=conultar&id='+$(this).attr('ide')
- success: function(data){
- var button = $('.btn_home');
- var prueba = '<td></td><td><img src="/Marcadores/'+marcadores[data.tipo_locacion]+'"></td><td id="nombre_aloja" >'+data.nombre_aloja+'</td><td>'+data.ubicacion_aloja+'</td><td>'+data.persona_cont+'</td><td>'+data.cargo+'</td><td>'+data.tel_per_cont+'</td><td>'+data.tel_aloja+'</td><td>'+data.email+'</td>';
- $('#loader ').click( function(){
- console.log('me tocaste grosero');// identificando td especifico tabla modal
- });
- if(data.verificado == "1"){
- prueba=prueba+'<td><span id="veri_estado" class="'+verifi[data.verificado]+'"></span></td>';
- }else{
- prueba=prueba+'<td><span id="veri_estado" class="'+verifi[data.verificado]+'"></span></td>';
- }
- $("#loader").html(prueba);
- $('#identificado').val(data.id);
- },
- error: function(){
- alert('Error general del sistema, regrese mas tarde ');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement