function init() { } function enviavoto(voto,pos,elID){ oConn = new XHConn(); strPost = "accion=voto&voto="+voto+"&pos="+pos; if(pos == 'pro') { valor = 1; } else { valor = 2; } if (!oConn) alert("XMLHTTP no disponible. Intentelo con otro navegador."); var fnWhenDone = function (oXML) { if (oXML.responseText != 0) { document.getElementById("rate"+elID).innerHTML = oXML.responseText; document.getElementById("rate"+elID).style.cursor = "default"; } else { alert("Ha ocurrido un error en el voto."+oXML.responseText); } }; oConn.connect("/rating.php", "POST", strPost , fnWhenDone); }
¿Qué pasa si te tomas una foto con flash?
Se muere de envidia Superman.
Usuario: jesus maria calvo garcia | Categoría: Superman | Comentarios: → No hay comentarios