title: window.onload Javascript, with functions that receives parameter?
body: <p>I have this function:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var car = document.getElementById("Carros").value;
      window.onload = ChangeValue(car);
  
      function ChangeValue(str)
      {   
         ....
      }   
  </code></pre>
  
  <p>See that <code>ChangeValue(str)</code> receives a parameter, how may I make it start in the pageLoad?<br>
  using javascript ! The parameter I pass is a <code>&lt;select id="" onChange="ChangeValue(this.value)"&gt;</code></p>