Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/07/2006, 11:43
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 19 años, 7 meses
Puntos: 39
A ver si esta funcion te ayuda:
Código:
function EstablecerFechaActual(nomForm, d, m, a)
{
	var hoy = new Date();
	
	this.document.forms[nomForm].elements[d].selectedIndex = hoy.getDate()-1;
	this.document.forms[nomForm].elements[m].selectedIndex = hoy.getMonth();
	this.document.forms[nomForm].elements[a].selectedIndex = hoy.getYear()-2005;
}
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.