user525146 user525146 - 8 months ago 156
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