Two calendar form in one page Joomla <p>I implemented two calendar form in one view page in joomla component. the code is like this:</p> <pre><code> &lt;tr&gt; &lt;td&gt;Start Date&lt;/td&gt; &lt;td&gt;&lt;?php echo JHTML::calendar(date("Y-m-d"),'from', 'date', '%Y-%m-%d',array('size'=&gt;'8','maxlength'=&gt;'10','class'=&gt;' validate[\'required\']',)); ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;End Date&lt;/td&gt; &lt;td&gt;&lt;?php echo JHTML::calendar(date("Y-m-d"),'to', 'date', '%Y-%m-%d',array('size'=&gt;'8','maxlength'=&gt;'10','class'=&gt;' validate[\'required\']',)); ?&gt;&lt;/td&gt; &lt;/tr&gt; </code></pre> <p>But now only the first calendar form would pop up a jQuery calendar that let me select a date, the second form, when clicking on it, there is no effect.</p> <p>Hope someone could help me solve this problem.</p>