Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/01/2011, 08:43
Avatar de vicenttur
vicenttur
 
Fecha de Ingreso: enero-2011
Ubicación: Formentera
Mensajes: 30
Antigüedad: 13 años, 4 meses
Puntos: 1
Pregunta Selector de fechas

Hola a TODOS...
Me he bajado un script jquery que al pulsar en un campo, me despliega un calendario para selecciona una fecha y después me la introduce en el campo, hasta aki todo normal, y funciona bien, pero en ese formulario necesito recoger dos fechas y no condigo que me funcione en dos campos diferentes ... a ver si me podéis echar una mano ... GRACIAS.

este es el código:

<!-- CALENDARIO JQUERY -->
<script type="text/javascript" src="jquery.1.4.2.js"></script>
<script type="text/javascript" src="jsDatePick.jquery.min.1.3.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" />
<script type="text/javascript">
window.onload = function(){
new JsDatePick({
useMode:2,
target:"inputField",
dateFormat:"%d-%M-%Y"
/*selectedDate:{ This is an example of what the full configuration offers.
day:5, For full documentation about these settings please see the full version of the code.
month:9,
year:2006
},
yearsRange:[1978,2020],
limitToToday:false,
cellColorScheme:"beige",
dateFormat:"%m-%d-%Y",
imgPath:"img/",
weekStartDay:1*/
});
};
</script>
<!-- CALENDARIO JQUERY -->

...

<input type="text" size="12" id="inputField" />

he intentado de diferentes y diversas maneras, este es el código original funciona bien en un input, como puedo añadir otro input y que funcione también?¿?¿?¿? .... GRACIAS.