php - how to add calendar pop up next to date column -


how put calendar next date input field? in php thanks.

 <div class="control-group">      <label class="control-label">date:</label>      <div class="controls">         <input required name="receiving_date" type="date" id="receiving_date"                class="input-xlarge" min="<?php echo date('y-m-d');?>" />      </div> </div> 

you have have image going clickable , open wanted datepicker plugin. example:

<div class="control-group">  <label class="control-label">date:</label>  <div class="controls">     <input required name="receiving_date" type="date" id="receiving_date"            class="input-xlarge" min="<?php echo date('y-m-d');?>" /> <a href="javascript:showcalendar('date')"><img src="date.gif" width="19" height="17" border="0"></a>  </div> </div> 

and in javascript call showcalendar function. detailed example on page:

http://www.yxscripts.com/cal_core_lite/cal_list_lite.html 

hope helps.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -