I just launched my first jquery site the other day, and I'm trying to make it so that selects a date from the datepicker, a div on the page gets updated with the selected date.
Datepicker is launched from within a superfish menu However am having two problems. 1) when I use the code below, i get an error "node cannot be inserted at the specified point in the hierarchy "code" 3 2) for some reason the month does not display on my datepickermenu. the code I am using to update the div is [code] $('.nav').superfish(); $('.item').click( function(){ var selectedDate = $(this).html(); $('.holdDate').html(selectedDate); }); $('.dateItem') .datePicker({inline:true, dateFormat: 'DD, MM d, yy'}) .bind( 'dateSelected', function(e, selectedDate, $td){ var newDate = selectedDate; $('.holdDate').html(selectedDate); } ); [/code] I've posted the not working code at http://hearwhere.com/filterDates.php i realize I have some css changes to make, the design isn't finished, but if you hover over the "playing all dates" after the 'genres' dropdown, the calendar will appear.