In this article I will explain with an example, how to show Calendar Icon (Image) next to TextBox using Bootstrap DatePicker (Calendar) plugin.
The Calendar Icon (Image) will be displayed using Calendar Icon with Bootstrap FontAwesome Glyphicon Icon.
When the Bootstrap FontAwesome Glyphicon Icon is clicked, the Bootstrap DatePicker Calendar is shown.
HTML Markup and Bootstrap DatePicker implementation
The following HTML Markup consists of a TextBox which has been made Read Only.
Inside the jQuery document ready event handler, the TextBox has been applied with Bootstrap DatePicker plugin.
The Bootstrap DatePicker plugin has been assigned following properties:
format – dd/mm/yyyy
The Bootstrap DatePicker will set the selected Date in dd/MM/yyyy date format in TextBox.
<html xmlns="">
    <style type="text/css">
            font-size: 15pt;
            width: 180px;
    <!-- Bootstrap -->
    <script type="text/javascript" src=''></script>
    <script type="text/javascript" src=''></script>
    <link rel="stylesheet" href='' media="screen" />
    <!-- Bootstrap -->
    <!-- Bootstrap DatePicker -->
    <link rel="stylesheet" href="" type="text/css" />
    <script src="" type="text/javascript"></script>
    <!-- Bootstrap DatePicker -->
    <script type="text/javascript">
        $(function () {
                format: "dd/mm/yyyy"
    <div class='container'>
        <div class="input-group">
            <input id="txtDate" type="text" class="form-control date-input" readonly="readonly" />
            <label class="input-group-btn" for="txtDate">
                <span class="btn btn-default">
                    <span class="glyphicon glyphicon-calendar"></span>
Implement Bootstrap DatePicker with Calendar Icon (Image)
Browser Compatibility

The above code has been tested in the following browsers.

Internet Explorer  FireFox  Chrome  Safari  Opera 

* All browser logos displayed above are property of their respective owners.