26/01/2011, 12:12
|
| | | Fecha de Ingreso: febrero-2008 Ubicación: Montevideo
Mensajes: 261
Antigüedad: 16 años, 10 meses Puntos: 31 | |
Respuesta: Selector de fechas No tengo el js para probarlo pero ¿probaste duplicando la llamada de la función? Algo como:
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*/
});
new JsDatePick({
useMode:2,
target:"inputField2",
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" />
<input type="text" size="12" id="inputField2" />
|