codice:
<input type="image" name="cal_button_2" src="../../gestione/common/gfx/calendar_n.gif" align="absbottom" disabled id="cal_button_2" />
<input name="datec" type="text" value=""/>
<script type="JavaScript1.2" >
Calendar.setup({
inputField : "datec",
button : "cal_button_2",
align : "Tr",
ifFormat : "%d-%m-%Y" // the date format
});
</script>
modifica <input type="checkbox" name="cambia" onclick="(this.checked)?window.document.getElementById('cal_button_2').disabled=false:window.document.getElementById('cal_button_2').disabled=true;" />
prova questo codice!