title: Onclick Reload page
body: <p>Hi currently i have a problem with my Onclick because it wont reload on my page
  This is what i have. </p>
  
  <pre><code>       &lt;div id="vpanel"&gt;
          &lt;div&gt;
          &lt;form method="post" action="enrollalpha.php"&gt;
          &lt;label&gt;View Panel&lt;/label&gt;
          &lt;select name="Vpanel" onclick="return.this.form"&gt;
                                &lt;option value="VS"&gt;Students&lt;/option&gt;
                                &lt;option value="VSc"&gt;Section&lt;/option&gt;
                                &lt;option value="VA"&gt;Adviser&lt;/option&gt;&lt;/select&gt;
          &lt;/form&gt;
          &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>And will be used in this code on the same page.</p>
  
  <pre><code>        &lt;form method="post" action=""&gt;
  
          &lt;div id="tbody"  class="scrollbar"&gt;
      &lt;?php
           if(!empty($_POST['Vpanel'])){
           $vview = $_POST['Vpanel'];
           }else{
             $vview = 'VS';
          }
          if($vview == 'VS'){
              require_once 'vpanel_student.php';
          }else if($vview == 'VSc'){
              require_once 'vpanel_section.php';
          }else if($vview == 'VA'){
              require_once 'vpanel_adviser.php';
          }else{
              require_once 'vpanel_student.php';
          }
      ?&gt;
  
          &lt;/div&gt;
  </code></pre>
  
  <p>Would appreciate any help on what I'm doing wrong.</p>