can someone explain this bit of code?
<p>can someone explain this bit of code? </p>

<pre><code>&lt;script type="text/javascript"&gt;&lt;!--

    $('#button-confirm').bind('click', function() {
        $.ajax({ 
            type: 'get',
            url: 'index.php?route=hybrid_directory/confirm',
                success: function() {
                    location = '&lt;?php echo $continue; ?&gt;';
            }
        });
    });

    function formSubmit()
    {
        document.getElementById("freecontactform").submit();
    }

//--&gt;&lt;/script&gt;
</code></pre>

<p>button-confirm, when clicks submits the information from a php contact form. how is url and function - location used?</p>
