title: Protecting values of an ajax form of inspect element, how to protect?
body: <p>How can I protect my ajax form of inspect element?
  I'm creating a system and I forgot  that the user can edit the value of a hidden input using inspect element.</p>
  
  <p>Please look this code:</p>
  
  <pre><code>&lt;input type="hidden" class="id" value="&lt;?=$array["id"]?&gt;" /&gt;
  </code></pre>
  
  <p>And the ajax:</p>
  
  <pre><code> var id = $(this).parent().find('.id').val();
  </code></pre>
  
  <p>If the id is <strong>5</strong> and I edit to <strong>2</strong> the ajax will get <strong>2</strong></p>
  
  <p>Can anyone help me?</p>