title: how to get data from form and load php by variable in text
body: <p>how to get data from form and load php by variable in text by click on button ?</p>
  
  <p>My Code:</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  $(document).ready(function(){
      $("#GEPLeach").click(function(){
          $("#EPLeach").hide();
          $("#EPLeached").show();
          $.get("lc.php", function(data){document.getElementById("EPLeached").innerHTML=data;});
      });
  });
  &lt;/script&gt;
  
  &lt;form id="EPLeach"&gt;
  &lt;input name="type" type="radio" value="keyword" checked&gt;
  &lt;input name="type" type="radio" value="URL"&gt;
  &lt;input type="text" name="input"&gt;
  &lt;input id="GEPLeach" type="submit" value="Leach"&gt;
  &lt;/form&gt;
  &lt;textarea id="EPLeached" hidden&gt;&lt;/textarea&gt;
  </code></pre>