title: How to get value from PHP array in jQuery?
body: <p>I have a function:</p>
  
  <pre><code>            $("button.btn-info").click(function() {
                   var id=this.id;
              });
  </code></pre>
  
  <p>So, and I have to get item from PHP array $records with 'id' number. I need to insert this item into 'alert' function, but I don't know how I can pass variable from JS to PHP.</p>
  
  <p>Please, tell me.</p>