Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
315 views
in Technique[技术] by (71.8m points)

Use Jquery Datepicker Instead of Bootstrap datepicker

I want to use the Jquery Datepicker but it is not taking that up and using the bootstrap datepicker. I have found some answers but I am not able to implement that on my project and I am not able to understand that. Here is the code

 $(function () {
        $('#txtDate').datepicker({
            beforeShowDay:
                function (dt) {
                    return [available(dt)];
                },
            changeMonth: true, changeYear: true, format: 'dd-MMM-yy'
        });
    });

The above code is suppose the run the JQuery Datepicker to give me the desired result but as it is working for the bootstrap datepicker it is not giving me the desired output.

I want to remove this conflict. How can I do that in my code. Any type of help or resources regarding this can really help me.

Thanks in Advance.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...