javascript - Calendar validation -
i want know how validate calendar, mean getting calendar values database i.e., start date , end date. when click on calendar able see before dates , after dates, example: if select 27-aug-2015
, 30-aug-2015
able see 25-aug-2015
above 30-aug-2015
. must b/w 27th 30. how validate this.
<input type="text" id="start" value="<?php echo $this->singlesevasdata['startdate'];?>" placeholder="select start date"> <input type="text" id="end" value="<?php echo $this->singlesevasdata['enddate'];?>" placeholder="select end date">
i using js file validate.
<script type="text/javascript" src="<?php echo themeurl;?>js/pikaday.js"></script>
Comments
Post a Comment