title: comparing two text fields one is disabled another one is manually enter
body: <p>I have a table inside a form, the rows and data inside the rows are generated from the back end automatically. Well all the columns are disabled, so that the user can not edit it but one column is editable. on submit compare the value from editable column and value in quanity column and display a alert message if value of editable is more.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="true" data-console="true" data-babel="false">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function validateAvaliable(){
    var aproducts = document.getElementById("available-quanity").value;
    var sproducts = document.getElementById("send-quanity").value;
    console.log(aproducts);
    console.log(sproducts );
    if (aproducts &lt; sproducts) {
      alert("send products are more");
      return false;
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;div class="container-fluid"&gt;
              &lt;form onsubmit="validateAvaliable()" class="available-products-table" id="available-products-table"  name="available-products"&gt;
          &lt;table class="table"&gt;
              &lt;fieldset&gt;
              &lt;legend&gt;Avaliable Products&lt;/legend&gt;
                  &lt;thead&gt;
                      &lt;tr&gt;
                        &lt;th&gt;S.no&lt;/th&gt;
                        &lt;th&gt;Product Name&lt;/th&gt;
                        &lt;th&gt;Product ID&lt;/th&gt;
                        &lt;th&gt;Quanity&lt;/th&gt;
                        &lt;th&gt;Brand&lt;/th&gt;
                        &lt;th&gt;Color&lt;/th&gt;
                        &lt;th&gt;Status&lt;/th&gt;
                        &lt;th&gt;Quanity&lt;/th&gt;
                      &lt;/tr&gt;
                  &lt;/thead&gt;
                  &lt;tbody&gt;
                    &lt;tr&gt;
                      &lt;td&gt;&lt;input type="text" name="available-sno" id="available-sno" disabled value="1"&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="text" name="available-name" id="available-name" disabled value="shoes"&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="text" name="available-id" id="available-id" disabled value="123"&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="number" name="available-quanity" id="available-quanity" disabled value="50"&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="text" name="available-brand" id="available-brand" disabled value="adidas"&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="text" name="available-color" id="available-color" disabled value="black"&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="checkbox" name="product-status" id="product-status"&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="number" name="send-quanity" id="send-quanity" required&gt;&lt;/td&gt;
                    &lt;/tr&gt;
                    
                    &lt;tr&gt;
                      &lt;td&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;/td&gt;
                      &lt;td&gt;Enter Franchise ID&lt;/td&gt;
                      &lt;td&gt;&lt;input type="number" name="send-franchise-is" id="product-status" required&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="submit" name="submit" value="submit" class="btn btn-primary"&gt;&lt;/td&gt;
                      
                    &lt;/tr&gt;
                  &lt;/tbody&gt;
              &lt;/fieldset&gt;
          &lt;/table&gt;
          &lt;/form&gt;
          &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>When I try to debug it it's getting the values but if statement is skipping.
  I need the code in javascript or Jquery.
  Thanks in Advance</p>