title: Insert form value into SQL query with jquery or javascript
body: <p>I have the following fields in a form. The page uses .Net and MS SQL</p>
  
  <pre><code>&lt;input type="text" name="Title" id="Title" /&gt;
  &lt;input type="text" name="FirstName" id="FirstName" /&gt;
  &lt;input type="text" name="LastName" id="LastName" /&gt;
  </code></pre>
  
  <p>I'd like to be able to grab these values and write them into an SQL query further down on the same form...</p>
  
  <pre><code>SELECT LastApp, 
  FROM   kb_xmod_modules 
  WHERE  infby1 = 'Dr Brian Cox' 
  </code></pre>
  
  <p>In this example, Dr Brian Cox would be replaced by whatever values are entered in Title, FirstName &amp; LastName</p>
  
  <p>If anyone has any ideas, that would be great...</p>
  
  <p>Thanks</p>