title: get the articles when the page loads before use ajax post method
body: <p>I'm using ajax post method for show result when select item.
  now i want get the items when the page loads but my code show result only when select an item i want show result from selected item when page load my ajax post code this is:</p>
  
  <pre><code>&lt;script type="text/javascript" &gt;
  
  aaa = jQuery.noConflict(); 
  
  function getItems(catid){
  aaa.post('articles.php',{catid: catid},function(data){
  aaa('#articlediv').html(data);}
  
              );
           }
  
  &lt;/script&gt;
  
    &lt;select type="list" name="categorylist" onChange="getItems(this.value)"&gt;
   &lt;?php 
     foreach($categoryid as $catid){
  
   $title = modadcatarticlesHelper::getCatById($catid);
  
   ?&gt;
  
  &lt;option value="&lt;?php echo $catid ?&gt;"&gt;&lt;?php echo $title ?&gt;&lt;/option&gt;
  
  
    &lt;?php } ?&gt;
  
    &lt;/select&gt;
  </code></pre>