title: why does the input type=reset is not working?
body: <p>Here is the code. When I try to use input type reset, it is not working. I tried to remove it outside the div, still it's not working.</p>
  
  <pre><code>&lt;div class="container-fluid"&gt;
      &lt;div class="row"&gt;
          &lt;div class="col s4"&gt;&lt;/div&gt;
          &lt;div class="col s4"&gt;
              &lt;form class="form"  action="&lt;?=base_url()?&gt;item/updatedata/&lt;?=$this-&gt;uri-&gt;segment(3)?&gt;" method="POST"&gt;
                  &lt;div class="row"&gt;
                      &lt;label&gt;ITEM ID&lt;/label&gt;
                      &lt;input type="text" readonly="" value="&lt;?=$items-&gt;item_id?&gt;" class="validate"&gt;
                      &lt;label&gt;ITEM NAME&lt;/label&gt;
                      &lt;input type="text" value="&lt;?=$items-&gt;item_name?&gt;" name="item_name" class="validate"&gt;
                      &lt;label&gt;ITEM DESCRIPTION&lt;/label&gt;
                      &lt;input type="text" value="&lt;?=$items-&gt;item_desc?&gt;" name="item_desc" class="validate"&gt;
                      &lt;label&gt;ITEM PRICE&lt;/label&gt;
                      &lt;input type="text" value="&lt;?=$items-&gt;item_price?&gt;" name="item_price" class="validate"&gt;
                      &lt;div class="col s6"&gt;
                          &lt;button class="btn waves-effect waves-light " type="submit" value="SUBMIT"&gt;Submit
                              &lt;i class="material-icons right"&gt;send&lt;/i&gt;
                          &lt;/button&gt;
                      &lt;/div&gt;
                      &lt;div class="col s6"&gt;
                          &lt;input  class="btn waves-effect waves-light red" type="reset" value="Reset"&gt;
                      &lt;/div&gt;
                  &lt;/div&gt; 
              &lt;/form&gt;
          &lt;/div&gt;
          &lt;div class="col s4"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>