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); }
Esto es un tío que va a un bar y pregunta:
-¿ cuánto vale un café?
Y el mozo le contesta: – 1,50 señor;
- ¿Y el azúcar?
- nada señor el azucar es gratis,
- Entonces pongame un kilo……
Usuario: marc reyes | Categoría: Bares | Comentarios: → No hay comentarios