I have a calender date selector on my page, when the user selects a date I want to transfer the date to a hidden field onBlur. Can someone please help me out?
Here is the jquery i have so far:
<script type="text/javascript">
// set rates codes for Booking Method = GroupRes Confirmation
$(function(){
$('#chk_in').blur(function() {
$('input[name=cheese]').($('#chk_in').val());
});
});
</script>
here are my form fields:
<input name="chk_in" type="text" class="inputext" value="" style="cursor: text" id="chk_in" />
<input name="cheese" type="hidden" class="inputext" value="" style="cursor: text" id="cheese" />