title: How to reset a php select form to default?
body: <p>I have this php code to generate a select form. What I'm looking for is create a "X" button at right side for resetting the form to default value [0] index. Here is a picture of what I want to accomplish. How can I do that?
  Thanks
  <a href="http://i.stack.imgur.com/rQfYz.jpg" rel="nofollow">This is where the X should be located</a></p>
  
  <pre><code>echo '&lt;li&gt;&lt;div class="styled-select"&gt;' . tep_draw_form('sort',` 
      htmlentities($_SERVER['PHP_SELF']), 'get') . '';
      $sort_list = array('0' =&gt; 'Sort By',
                         '1' =&gt; 'Product Name',
                         '2' =&gt; 'Price: Low to High',
                         '3' =&gt; 'Price: High to Low',
  
      echo tep_draw_hidden_field('page', $page);
      foreach($sort_list as $id=&gt;$text) {
      $sort_range[] = array('id' =&gt; $id, 'text' =&gt; $text);
                                       }
      echo tep_draw_pull_down_menu('sort', $sort_range, (isset($HTTP_GET_VARS['sort']) ?
      $HTTP_GET_VARS['sort'] : ''), 'onchange="this.form.submit()"');
      echo '&lt;/form&gt;&lt;/div&gt;&lt;/li&gt;';
  </code></pre>