title: How can i insert a value in textbox
body: <p>Hi guys its possible that i can insert a value from my jquery.</p>
  
  <p>this is my code of html and jquery please help me thank you in advance!!!</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt; script &gt;
    $(document).ready(function() {
      $("#oroom").blur(function() {
        var oroom = $("#oroom").val();
        var capa = $("#rcapa").val();
        if (oroom.lenght == capa.lenght) {
          $("#rcapa").html("Capacity of 1 - 16 person");
        }
      });
    }); &lt; /script&gt;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="form-group" style="margin-left:100px;"&gt;
    &lt;div class="col-sm-10"&gt;
      Occupied Rooms:
      &lt;select class="form-control" name="room" id="oroom"&gt;
        &lt;option&gt;Occupied Room&lt;/option&gt;
        &lt;option id="1room"&gt;1 Room&lt;/option&gt;
        &lt;option&gt;2 Rooms&lt;/option&gt;
        &lt;option&gt;3 Rooms&lt;/option&gt;
      &lt;/select&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="form-group" style="margin-left:100px;"&gt;
    &lt;div class="col-sm-10"&gt;
      Rooms Capacity:
      &lt;input type="text" class="form-control" id="rcapa" disabled&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>