title: jQuery AJAX Formatting - HTML PHP form formatting auto changed after loaded
body: <p>I am trying to make a AJAX code with PHP.</p>
  
  <p>Main PHP code is <a href="http://www.codeshare.io/vqnA8" rel="nofollow">here</a>.</p>
  
  <p>And supporting PHP code (which load with AJAX every time) is <a href="http://www.codeshare.io/jlOXV" rel="nofollow">here</a>.</p>
  
  <p>AJAX is loaded perfectly.</p>
  
  <p>But it is not loaded perfectly.</p>
  
  <p>What AJAX is supposed to do is giving this type of code every time -</p>
  
  <pre><code>                &lt;tr&gt;
                      &lt;form action="update" method="post"&gt;
                          &lt;th nowrap=""&gt;&lt;?php echo '&lt;a href="profile/'.$row_list['vanity_url'].'" target="_new"&gt;'.substr($row_list['name'],0,15).'&lt;/a&gt;'; ?&gt;&lt;/th&gt;
                          &lt;th &gt;&lt;input type="text" readonly value='&lt;?php echo $row_list['vanity_url']; ?&gt;' class="login-text name right10 form-control" style="width: 600px" id="registerCompany" name="old"&gt;&lt;/th&gt;
                          &lt;th nowrap=""&gt;&lt;br/&gt;&lt;/th&gt;
                          &lt;th &gt;&lt;input type="text" class="login-text name right10 form-control" style="width: 600px" id="registerCompany" name="new" placeholder="*New URL" required autocomplete="off" &gt;&lt;/th&gt;
                          &lt;th nowrap=""&gt;&lt;br/&gt;&lt;/th&gt;
                          &lt;th nowrap=""&gt;&lt;button type="submit" class="btn btn-primary"&gt;Update&lt;/button&gt;&lt;/th&gt;
                      &lt;/form&gt;
                  &lt;/tr&gt;
  </code></pre>
  
  <p>But it is not giving this. It is giving</p>
  
  <pre><code>                 &lt;tr&gt;
                      &lt;form action="update" method="post"&gt;&lt;/form&gt;
                          &lt;th nowrap=""&gt;&lt;?php echo '&lt;a href="profile/'.$row_list['vanity_url'].'" target="_new"&gt;'.substr($row_list['name'],0,15).'&lt;/a&gt;'; ?&gt;&lt;/th&gt;
                          &lt;th &gt;&lt;input type="text" readonly value='&lt;?php echo $row_list['vanity_url']; ?&gt;' class="login-text name right10 form-control" style="width: 600px" id="registerCompany" name="old"&gt;&lt;/th&gt;
                          &lt;th nowrap=""&gt;&lt;br/&gt;&lt;/th&gt;
                          &lt;th &gt;&lt;input type="text" class="login-text name right10 form-control" style="width: 600px" id="registerCompany" name="new" placeholder="*New URL" required autocomplete="off" &gt;&lt;/th&gt;
                          &lt;th nowrap=""&gt;&lt;br/&gt;&lt;/th&gt;
                          &lt;th nowrap=""&gt;&lt;button type="submit" class="btn btn-primary"&gt;Update&lt;/button&gt;&lt;/th&gt;
                  &lt;/tr&gt;
  </code></pre>
  
  <p>So, the form is closed, so it can't be used.</p>
  
  <p>Can anyone help me, please?</p>
  
  <p>Thanks in advance for helping.</p>