Category Covered

How to add JOOMLA DATE PICKER

 


To day I want to share with you about Joomla date picker. To set up joomla date picker on to your site first open your component html file and write here the following code at the top of page

JHTML::_(‘behavior.calendar’);

After that for date field in your website form write the follwoing Html code and Javascript

<input type=”text” name=”startdate”
id=”startdate” size=”30" maxlength=”30"/>
<input type=”reset” value=”…”
onclick=”return showCalendar(‘startdate’,'%Y-%m-%d’);” />

And you've done it!

 
Posts you may like
 
Top 15 Posts
Google+