Validating start and end date in codeigniter start date < end date : these are use in view page pls add the java script to validate this date i am using code igniter

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-html -->

      <div class="form-group">
    						<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Mfg. date 
                            </label>
                          <div class="col-md-6 col-sm-6 col-xs-12 form-group has-feedback">
                            <input type="date" class="form-control" id="startDate" name="mfg_date" value="">
                            </div>
                          </div>
    					   <div class="form-group">
    					  <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Exp. Date 
                            </label>
    						<div class="col-md-6 col-sm-6 col-xs-12 form-group has-feedback">
                            <input type="date" class="form-control" id="endDate" name="exp_date" value="">
                           </div>
                          </div>
      <input type="hidden" name="action" value="add_medicines"/>
    						    <button type="submit" class="btn btn-success" />Add</button>

<!-- end snippet -->

