When you call $().datepicker(); on an element and go click on the element to basically make the datepicker show you get this error.