title: Dropdown list showing blank data
body: <pre><code>&lt;script&gt;
      function loaddropdown()
      {
          var dropdown = document.getElementById(&quot;ddFAge&quot;);
          
          for(var i=1;i&lt;=100;i++)
          {
              var newOption = new Option()
              newOption=document.createElement(option);
              newOption.Text = i;
              newOption.value = i;
              dropdown.options[i] = newOption;
              
              //dropdown.options.add(newOption);
     
              //&lt;option value=&quot;0&quot;&gt;&lt;--Select Age--&gt;&lt;/option&gt;
          }
      }
      window.onload=loaddropdown();
  &lt;/script&gt;
  </code></pre>
  <p>I wrote this script to bind 1-100 numbers to asp.net dropdown list. But dropdown list is not showing any data .I have attached screen shot of the drop down. What is wrong in above code</p>