小编Abh*_*dey的帖子

jQuery.Deferred异常:$(...).datepicker不是函数

提前致谢.

我已经搜索并实施了

 $(document).ready(function () {
     $("#ui-datepicker").datepicker();
    });
Run Code Online (Sandbox Code Playgroud)

$(function () {
    if (!Modernizr.inputtypes.date) {
        $('input[type=date]').datepicker({
            dateFormat: 'dd-mm-yyyy'
        }
         );
    }
});
Run Code Online (Sandbox Code Playgroud)

但无法解决问题.那么,请查看下面的代码并告诉我问题是什么

<html class=" js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths" style="">
<head>
  <link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
    <link href="/Content/bootstrap.min.css" rel="stylesheet">
    <link href="/Content/font-awesome.min.css" rel="stylesheet">
    <link …
Run Code Online (Sandbox Code Playgroud)

html javascript jquery html5 datepicker

10
推荐指数
1
解决办法
3万
查看次数

标签 统计

datepicker ×1

html ×1

html5 ×1

javascript ×1

jquery ×1