How to show first message on form load and next one after 1min?
<p>As I don't have much knowledge of javascript and I need your help. My problem is like this:</p>

<p>I am using setInterval() for increasing the value of <code>i</code> every after 1 minutes and I am using this code:</p>

<pre><code>var i = minutes;
function decrementMin() {
    if(i&gt;=0)
    {
        i--;
    }
    if(i==0)
    {
        alert('Minute = Congratulation your time begin now!');
    }                         
    document.getElementById('minutes').innerHTML = i + "minutes";
}
setInterval('decrementMin()',60000);
</code></pre>

<p>The problem is I want to show first message in <code>&lt;div id='minutes'&gt;&lt;/div&gt;</code> when page loads, but it shows the message after 1 minutes interval. If there is something that I am missing in my code please let me know.</p>
