title: How to dynamically create a text box with runat=server in jquery
body: <p>I am trying to create a textbox dynamically. I can successfully create it via the below code:</p>
  
  <pre><code>var parentTable = $('&lt;table border="0" class="table table-bordered" width="100%" id="searchInformation"/&gt;');
  var tr = $("&lt;tr class='searchEntitydata'/&gt;");
  var tr2 = $("&lt;tr class='searchEntitydata1'/&gt;");
  
  tr.append("&lt;td id='HQNametd'&gt;  &lt;label ID='hqName'&gt;HQ Name&lt;/label&gt;  &lt;input type='textBox' id='textboxSearch' placeholder='Search HeadQuarter'&gt; &lt;/td&gt;");
  tr.append("&lt;td id='HQIDtd'&gt;  &lt;label ID='hqId'&gt;HQ ID&lt;/label&gt;  &lt;input type='textBox' id='textboxSearchHQId' placeholder='Search ID'&gt; &lt;/td&gt;");
  tr.append("&lt;td id='BranchNametd'&gt;  &lt;label ID='BranchName'&gt;Branch Name&lt;/label&gt;  &lt;input type='textBox' id='textboxSearchBranchName' placeholder='Search Branch Name'&gt; &lt;/td&gt;");
  tr.append("&lt;td id='BranchIdtd'&gt;  &lt;label ID='BranchId'&gt;Branch Id&lt;/label&gt;  &lt;input type='textBox' id='textboxSearchBranchId' placeholder='Search Branch ID'&gt; &lt;/td&gt;");
  
  tr2.append("&lt;td id='Citytd'&gt;  &lt;label ID='City'&gt;City&lt;/label&gt;  &lt;input type='textBox' id='textboxSearchBranchId' placeholder='Search Branch ID'&gt; &lt;/td&gt;");
  tr2.append("&lt;td id='Statetd'&gt;  &lt;label ID='State'&gt;State&lt;/label&gt;  &lt;input type='textBox' id='textboxSearchBranchId' placeholder='Search Branch ID'&gt; &lt;/td&gt;");
  
  parentTable.append(tr);
  parentTable.append(tr2);
  $('#confirmSearch').append(parentTable);
  </code></pre>
  
  <p>However, when I change the textbox type from <code>input type=textBox</code> 
  to <code>asp:TextBox</code> for using <code>runat='server'</code>, I get an error. </p>
  
  <p>Is there any way via which I can dynamically create a textbox with <code>runat=server</code>?</p>