Using DatePicker with .NET

后端 未结 1 798
轮回少年
轮回少年 2021-01-29 07:15

I have created a very simple DatePicker using .NET Core. Here is my model:

public class MemberViewModel
    {
        public string Name { get; set; }
        [         


        
相关标签:
1条回答
  • 2021-01-29 07:40

    You are including jQuery twice. The second jQuery inclusion overwrites your $ variable, removing the jQuery ui plugins you loaded beforehand.

    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    

    and

    <script src="/lib/jquery/dist/jquery.js"></script>
    

    jQuery plugins work by extending the $ variable. You second inclusion of jQuery destroys the plugins previously loaded.

    0 讨论(0)
提交回复
热议问题