Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/07/2008, 23:52
Avatar de marcopoloaz06
marcopoloaz06
 
Fecha de Ingreso: julio-2007
Ubicación: México
Mensajes: 457
Antigüedad: 16 años, 8 meses
Puntos: 11
Respuesta: EDITAR un elemento del DOM con JQUERY

hola,
ps por ahi estabas
Código HTML:
$('#1').click( function()
{
$(this).html("<input type='text' name='variable' size='10'><input type='button' id='editar' value='editar'>");
$("input[name='variable']").focus();
$("#editar").click(function(){ $("#1").html( $("input[name='variable']").val()  ); });
});
});
saludos
:]
__________________
Aerolíneas Alicia :D