When some one clicks a link I need the select box value to change
Jan Feb
Since the value values are saved at the href attribute, use:
value
href
$("a.cli").click(function(event){ //when anchor is clicked event.preventDefault(); $(".ui-datepicker-month").val($(this).attr("href")); });