Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/10/2010, 12:41
nikalbo
 
Fecha de Ingreso: octubre-2010
Mensajes: 3
Antigüedad: 13 años, 7 meses
Puntos: 0
Ayuda plis con fecha de calendario

Sorry por molestar, pero soy muy novato en esto de javascript.

Lo que necesito es rescatar en una variable de php la fecha q se muestra en el cuadro de texto (Fecha q se selecciona por el calendario al apretar el boton.

Bueno gracias de antemano

aki va un pedazo del codigo q me interesa =)





<tr>
<td class="label">
<label for="f_rangeEnd">Disable dates after:</label>
</td>
<td>
<input id="f_rangeEnd" />
<button id="f_rangeEnd_trigger">...</button>
<button id="f_clearRangeEnd" onclick="clearRangeEnd()">clear</button>
<script type="text/javascript">
new Calendar({
inputField: "f_rangeEnd",
dateFormat: "%B %d, %Y",
trigger: "f_rangeEnd_trigger",
bottomBar: false,
onSelect: function() {
var date = Calendar.intToDate(this.selection.get());
LEFT_CAL.args.max = date;
LEFT_CAL.redraw();
this.hide();
}
});
function clearRangeEnd() {
document.getElementById("f_rangeEnd").value = "";
LEFT_CAL.args.max = null;
LEFT_CAL.redraw();
};
</script>
</td>
</tr>