title: Submit button not working in IE/Safari, works in Chrome and information gets passed
body: <p>I have sort of an odd problem that has been puzzling me. I have a content management system that is self made, and for a majority of the CRUD operations happen by checking to see what fields exist in the database, outputting it in a user friendly manner for editing of content, then submitting that content back into the database. These operations work perfectly in Chrome, however in Internet Explorer and Safari whenever I hit the submit button the page just seems to refresh without processing any information.</p>
  
  <pre><code>function createInsertForm($table, $formDesc, $carry, $carryUrl, $ext='', $formAppend='')
  {
      // init globals
      global $cmsdir;
      global $pluginsdir;
      // put it together
      echo '&lt;script type="text/javascript" src="' . $pluginsdir . 'ckfinder/ckfinder.js"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="' . $pluginsdir . 'ckeditor/ckeditor.js"&gt;&lt;/script&gt;';
      echo '&lt;form action="' . $_SERVER['PHP_SELF'] . '" method="POST" class="form-horizontal" '.$formAppend.'&gt;';
      createForm($table, 'insert', $formDesc);
      createFormButtons('yes', 'yes');
      if ($_POST['submit'] == 'Submit') {
          insertIntoDb($table, $carry, $carryUrl, $ext);
      }
      echo '&lt;/form&gt;';
  }
  
  function createFormButtons($submit, $reset)
  {
      echo '&lt;div class="form-actions-min"&gt;';
      if ($submit == 'yes') {
          echo '&lt;input name="submit" type="submit" id="submit" class="btn btn-success"&gt;';
      }
      if ($reset == 'yes') {
          echo '&lt;input name="reset" type="reset" id="reset" class="btn btn-warning btn-space"&gt;';
      }
      echo '&lt;/div&gt;';
  }
  </code></pre>
  
  <p>page output example:</p>
  
  <pre><code>&lt;script type="text/javascript" src="../../neou_cms/plugins/ckfinder/ckfinder.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="../../neou_cms/plugins/ckeditor/ckeditor.js"&gt;&lt;/script&gt;
      &lt;form action="/neou_cms/external_forms/testimonial.php" method="POST" class="form-horizontal" &gt;
          &lt;div class="form-desc"&gt;&lt;/div&gt;
          &lt;h3&gt;Input Fields&lt;/h3&gt;
          &lt;div class="control-group"&gt;
              &lt;label class="control-label"&gt;Name&lt;/label&gt;
              &lt;div class="controls"&gt;
                  &lt;input type="text" name="name" value="" class="input-xlarge" id="tag_name" /&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="control-group"&gt;
              &lt;label class="control-label"&gt;Position&lt;/label&gt;
              &lt;div class="controls"&gt;
                  &lt;input type="text" name="position" value="" class="input-xlarge" id="tag_position" /&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="control-group"&gt;
              &lt;label class="control-label"&gt;Company&lt;/label&gt;
              &lt;div class="controls"&gt;
                  &lt;input type="text" name="company" value="" class="input-xlarge" id="tag_company" /&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;h3&gt;Content Fields&lt;/h3&gt;
          &lt;div class="control-group"&gt;
              &lt;label class="control-label"&gt;Quote&lt;/label&gt;
              &lt;div class="controls"&gt;
                  &lt;textarea name="quote" id="quote" rows="8" style="width:305px;"&gt; &lt;/textarea&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;input type="hidden" name="id" value="175013988" /&gt;
          &lt;div class="form-actions-min"&gt;&lt;input name="submit" type="submit" id="submit" class="btn btn-success"&gt;
              &lt;input name="reset" type="reset" id="reset" class="btn btn-warning btn-space"&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I wish I could be more specific and offer a better overview, but that would take ages! Does anyone have experience with an issue such as this, or perhaps know from my brief code what might be going wrong?</p>