title: document.getelementById("").value does not work in case of Ajax call?
body: <p>I want to do search and it can search many times. when it is submitted, it will show value in textbox by using document.getelementById("").value. All work well but I added ajax for filter search, document.getelementById("").value couldn't work.</p>
  
  <pre><code>        $(document).ready(function() {
              $('#job_no').change(function() {
                  $.ajax({
                      type: 'POST',
                      data: {JOB_NO: $(this).val()},
                      url: 'select.php',
                      success: function(data) {
                          $('#input_na').html(data);
                      }
                  });
                  return false;
              });
          });
  </code></pre>
  
  <p><code>&lt;script type="text/javascript"&gt;document.getElementById('input_na').value = "&lt;?php echo $_POST['input_na'];?&gt;";&lt;/script&gt;</code></p>