user525146 user525146 - 5 months ago 63x
Javascript Question

Add calendar jquery image to datepicker

I am not sure how to add the

ui-icon ui-icon-calendar
class as a datepicker image beside the text field. I want something like this:, but it should have the jquery calendar image.

        $(function() {
            $( "#datepicker" ).datepicker({
                showOn: "button",
                buttonImage: "",
                buttonImageOnly: true