Two date picker on same the page?
<p>I suppose this should work , but its not. Where did I went wrong?</p>

<pre><code>&lt;link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" /&gt;

&lt;script type="text/javascript" src="jsDatePick.min.1.3.js"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;
window.onload = function(){
    new JsDatePick({
        useMode:2,
        target:"inputField",
        dateFormat:"%j-%n-%Y"
    });
};
&lt;/script&gt;
</code></pre>

<p>This is the date picker script, working fine with one date picker on a single page, but my requirement is to have two of them.</p>

<p>I did :</p>

<pre><code> From Date :&lt;input type="text" size="12"  name="date1" id="inputField"    
readonly="readonly"/&gt;  


To Date :&lt;input type="text" size="12"  name="date2" id="inputField"  
readonly="readonly"/&gt;
</code></pre>

<p>But it's not working. The date picker is showing up only for the second input field. If I am creating two ids, then do I have to make the same function twice? I did that too, but it does not helped.</p>
