Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/02/2014, 17:05
ingluciabarrales
 
Fecha de Ingreso: febrero-2014
Mensajes: 2
Antigüedad: 10 años, 2 meses
Puntos: 0
como accder al id de unelemento traido por post en un popup?

hola amigos tengo una duda TENGO UN TABLA Y AL HACER CLIK EN UN ITEM me llena un div y lo muestra como popup ,pero quisiera accder al boton que aprece n dicho popup por ejemplo un alert() cuando hago clik en ese boton del popup pero no puedo accder a esas propiedades alguien podria orientarme muchas gracias


<script type="text/javascript" charset="utf-8">

$(document).ready(function() {
//popup
$(".big-link").live("click",function(){
var usuario = $(this).attr("id");

$.post("datos/mod_usu.php",{txtbuscar:usuario,operacion:'busca'} ,
function(data){
// alert('llego...');
$( "‪#‎myModal‬" ).html(data)
var modalLocation = $(this).attr('data-reveal-id');
$('#'+modalLocation).reveal($(this).data(

//AQUI ESTOY DICIENDO EN EL BOTON QUE PARECERA EN EL DIV #MYMODAL AL HACER CLIK ARROJAME UN ALERT()
$('‪#‎BOTONTRADIDOENEL‬ POST').click(function(){
alert("NO FUNIONA ALERT....")

})///FIN CODIGO DEL BOTON

));



});


});
//fin de popup

} );



</script>