jQuery, converting from a .POST to .AJAX with a method?
<p>I have the following:</p>

<pre><code>    $.post(this.href, { _method: 'delete' }, null, "script");
</code></pre>

<p>How can I convert that to a:</p>

<pre><code>$.ajax({
    type: "POST",
    url: ,
    data: ,
    beforeSend: function() {
    },
    success: function() {
</code></pre>

<p>I'm not use how to deal with URL or how to add the _method: 'delete' where does that go with .ajax?</p>

<p>thanks</p>
