I used asp.net web form and followed the code on the Internet to write it once. Why do others have "left and right" arrows, but mine don't?
My code is as follows:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="DateTimePickerTest4.WebForm1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css"> <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap-theme.min.css"> <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> <script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <link href="css/bootstrap-datetimepicker.css" rel="stylesheet" type="text/css" /> <script src="js/bootstrap-datetimepicker.min.js" type="text/javascript"></script> <script src="js/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $("#a").datetimepicker({ language: 'zh-CN', weekStart: 1, todayBtn: 1, autoclose: 1, todayHighlight: 1, startView: 2, minView: 2, forceParse: 0 }); })//end documnet.ready </script></head><body> <form id="form1" runat="server"> <div> <input id='a' name='a' type="text" data-date-format="yyyy-MM-dd" /> </div> </form></body></html>
Your style file is not imported
bootstrap.min.css
Is there an error that the current month is November and the active one is September?
bootstrap.min.css
Is there an error that the current month is November and the active month is September?
Did you just copy bootstrap? .css .js
There is also a less file in it, but you didn’t take the test.
Just try downloading the complete bootstrap
The one in front of me The problem is after you solve this problem~~ See if there is that problem