
31/10/2005, 10:05
|
| | Fecha de Ingreso: octubre-2005
Mensajes: 25
Antigüedad: 19 años, 4 meses Puntos: 0 | |
he hecho esto y no funciona
function campoVacio(campo){
var valor = document.getElementById(campo).value;
valor = valor.replace(/(^s*)|(s*$)/g,"");
if(valor==""){
alert("<?=$error_campo_vacio?>");
c.focus();
}
} |