Can't seem to get jquery $.load to work
<pre><code>$(function() {
    $("#delete").click(function() {
        var r= confirm("Are you sure you want to delete these servers?");
        if(r == true){
                var inputs = document.getElementsByTagName('input');
                for (var i=0, iLen=inputs.length; i&lt;iLen; i++) {
                if (inputs[i].type == 'checkbox'){
                    if(inputs[i].checked &amp;&amp; inputs[i].name != "checkall"){
                        $("#modifyserver").load("deleteserver.php?ip=" + inputs[i].name);
                    }
                }
            }
            document.location.reload(true)
        }
    });
});
</code></pre>

<p>Above is my code.. I can't seem to get it working. It just won't load the page but if I put an alert into the if statment, it says it alerts me. Meaning, the <code>$("#modifyserver").load("deleteserver.php?ip=" + inputs[i].name);</code> is the part that isn't working.</p>
