Hola buenas
Pues tengo el siguiente problema.
Mi función:
Código PHP:
function lalala(id,voto)
{
window.open('http://www.misitio.com/voto.php?f=' + id + '&v=' + voto, "Votacion", "height=200,width=400,toolbar=no,directories=no,menubar=no,status=no");
}
Al pasar el validador (
http://validator.w3.org)
Código:
Warning Line 62 column 61: cannot generate system identifier for general entity "v".
...w.en7fotos.com/voto.php?f=' + id + '&v=' + voto, "En7fotos", "height=200,wid
Error Line 62 column 61: general entity "v" not defined and no default entity.
...w.en7fotos.com/voto.php?f=' + id + '&v=' + voto, "En7fotos", "height=200,wid
Warning Line 62 column 62: reference not terminated by REFC delimiter.
....en7fotos.com/voto.php?f=' + id + '&v=' + voto, "En7fotos", "height=200,widt
Error Line 62 column 62: reference to entity "v" for which no system identifier could be generated.
....en7fotos.com/voto.php?f=' + id + '&v=' + voto, "En7fotos", "height=200,widt
# Info Line 62 column 60: entity was defined here.
...ww.en7fotos.com/voto.php?f=' + id + '&v=' + voto, "En7fotos", "height=200,wi
La función me funciona perfectamente... consiste en pasarle dos valores, para variable id y voto. Pero me salen todos esos errores en el validador (no me sale ningún error en la consola de Javascript de Firefox ni similares)
Algunda idea? gracias!!