title: How to send Single Input Field value to Controller with JQuery in Laravel
body: <p>I want to send a single input form value to database with jQuery in Laravel. </p>
  
  <p>Here is the input field:</p>
  
  <pre><code>&lt;input type="text" id="comment"&gt;
  
  &lt;button id="cmntSubmit" type="button"&gt;Post&lt;/button&gt;
  </code></pre>
  
  <p>Here is my jQuery code:</p>
  
  <pre><code>$(document).on("click","#cmntSubmit",function() {
      var cmnt = $("#comment").val();
  
      $.ajax({
        url: "{{ route('laravel_controller') }}",
        data: cmnt,
        success: success,
        dataType: dataType
     });
  }
  </code></pre>
  
  <p>How will I send this comment field with jQuery to my Laravel controller and receive the comment field value with <code>$request</code>?</p>