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); }
¿Por qué ponen los Argentinos un cubito encima de la televisión?
- Para congelar la imagen.
Usuario: Edinson Lisboa Santa Cruz | Categoría: Argentinos | Comentarios: → 6 Comentarios