title: Jquery $.getJSON User Input
body: <p>I am trying to add an html input box to allow users to set a value which adjusts the result returned from a sql request. My request currently contains a parameters to which a variable is supplied and sent as a request. </p>
  
  <p>I am new to jquery and uncertain as to how to fetch the user inputted value as previously done with the simple getElementById in JavaScript.</p>
  
  <p>My jquery is:</p>
  
  <pre><code>var schema = 'sewer_pipelines';
  
          $.getJSON("sql_query.php", // The server URL 
              { parameter: schema },
              saveToArray
              ); 
  </code></pre>
  
  <p>Is there a method which will allow for user input in this approach? </p>