Scott Emrick wrote:Interesting! I'd never heard of JQuery. I guess I need to Google that and read up on it.
So this code is creating a function that runs a date popup defined in the css in the popupDatepicker39 element and sets the changeMonth and changeYear to true.
More specifically, this code is establishing a "ready handler" that will be called when the DOM is completely loaded. In the handler, a DOM element with the specified id is turned into a date picker (which is part of jQuery UI).
Click on the "Books by Bear" link in my sig if you're interested in a book on jQuery and jQuery UI.