title: call php page under Javascript function
body: <p>Is it Possible to call php page under Javascript function?
  I have an javascript function and I want to call php page if someone press okk </p>
  
  <p>Here is my code so far </p>
  
  <pre><code>function show_confirm()
  {
  var r=confirm("Do You Really want to Refund money! Press ok to Continue ");
  if (r==true)
    {
    alert("You pressed OK!");
    return true;
    }
  else
    {
    alert("You pressed Cancel!");
    }
  }
  </code></pre>
  
  <p>and this Js function i m using here </p>
  
  <pre><code>&lt;td align="center"&gt;&lt;input name="Refund" onclick="show_confirm()" type="submit" value="Refund" /&gt;&lt;/td&gt;
  </code></pre>
  
  <p>now i want if user press okk then <code>call other php page</code> ...</p>