how to send form data through javascript?
<p>HTML code-</p>

<pre><code>&lt;form&gt;
....
&lt;a class="art-button" href="edit.php" &gt;Edit&lt;/a&gt;
&lt;a class="art-button" href="#" onclick="show_confirm()"&gt;Delete&lt;/a&gt;
&lt;/form&gt;
</code></pre>

<p>JavaScript-</p>

<pre><code>&lt;script type="text/javascript"&gt;
function show_confirm()
{
    var r=confirm("Do you want to delete?");
    if (r==true)
      {
      // call "delete.php?id=value"
      }
    else
      {
      //go back to same page
      }
}
</code></pre>

<p></p>

<p><code>how can I call delete.php?id=value</code> from javascript` </p>
