Results 1 to 1 of 1

Thread: Date Picker doesn't work

  1. #1
    Junior Member
    Join Date
    Feb 2018

    Date Picker doesn't work

    Hi everyone,
    I'm an absolute newbie to Bootstrap and I'm trying to get what is supposed to be a simple date picker in a simple html page by copying the code from an site for of working examples. .
    I've downloaded the necessary Bootstrap .js and .css files, checked that the links to them are correct, and then copied and pasted the example code into the page. I do get the box with the calendar icon on the end but when I click in the box or on the icon nothing happens. Can you help please?

    Here's what I copied:

    <!DOCTYPE html>
    <html lang="en">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Calendar Test</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/bootstrap.css" type="text/css">
    <link rel="stylesheet" href="../css/bootstrap-theme.css" type="text/css">

    <h1 class="bg-primary">Hello, world!</h1>
    <script src=""></script>
    <script src="../js/bootstrap.min.js"></script>
    <span class="alert-info">This is my own text</span>...<br class="carousel-inner">
    <div class="container">
    <div class="row">
    <div class='col-sm-2'>
    <div class="form-group">
    <div class='input-group date' id='datetimepicker1'>
    <input type='text' class="form-control" />
    <span class="input-group-addon">
    <span class="glyphicon glyphicon-calendar"></span>
    <script type="text/javascript">
    $(function () {
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts