Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/10/2008, 14:27
Avatar de foreverOdd
foreverOdd
 
Fecha de Ingreso: noviembre-2007
Ubicación: Caracas
Mensajes: 489
Antigüedad: 16 años, 5 meses
Puntos: 14
Respuesta: Problema con llamado de funciones

que tal asi:

function carga_status(){
var p1, cont_status;
var aleatorio=parseInt(Math.random()*999999999999999);
cont_status = document.getElementById('sel_status');
p1 = document.getElementById('campania').value;
ajax = nuevoAjax();
ajax.open("GET","ajax.busca_status.php?p1="+p1+"&n ocache="+aleatorio,true);
ajax.onreadystatechange = function() {
if (ajax.readyState == 4){
cont_status.innerHTML = ajax.responseText
carga_user();
}
}
ajax.send(null)
}
__________________
My path is lit by my own fire, I only go where I desire