title: pass parameter with out page reload php
body: <p>I want to access php id on the same page for this i want something like this:</p>
  
  <pre><code>&lt;a onclick='showDialog_update()' href='follow_event.php?id=$customer-&gt;id'\"&gt; 
  </code></pre>
  
  <p>but i want to show popup and not want the page to get refresh so i can show my result on my popup on the same page.
  i already tried this jquery code but its not working for me</p>
  
  <pre><code>&lt;a href="javascirpt:void(0)" rel='$customer-&gt;id' class="showpopup"&gt;
  
  $(".showpopup").click(function(ev)
  {   
    var getid = $(this).attr('rel');
    alert(getid); 
    ev.preventDefault();
  }
  </code></pre>