Trying to have more than one popup calendar in a component I'm building but only the first one works.
<?php echo JHTML::calendar($this->escape($item->datepassed), 'teacher_datepassed', 'teacher_datepassed', '%Y-%m-%d'); ?>
Some research though can't seem to find an example of more than one that worked:
http://docs.joomla.org/JHtml::calendar/1.6
http://www.zriel.com/joomla/25-how-to-add-pop-up-calendar-in-backend-of-joomla
Thoughts?
Thanks!