populate drop down box with numbers
<p>I'm trying to do something seemingly simple. I am trying to populate a drop down box with the numbers 1-5.  When ever I run the page, my drop down box is blank.</p>

<p>Any help? Thanks!</p>

<p>Here is the code:</p>

<pre><code>    var maxAllowed = [0,1,2,3,4,5];
    for (var i = 0; i &lt; maxAllowed.length; i++) {
        $("#attemptsDDL").append($("option /&gt;").val(i).html(i));
    }
</code></pre>
