How to retrieve url parameters from a jquery load function?
<p>I have two htmls namely index.html and grid.html. I need to refresh grid contents according to the dropdown values being selected in the index.html file. </p>

<p>In my index.html page I've this code,</p>

<pre><code>$(document).ready(function() {
    $('#orderTypeOptions').change(function() {
        var oType = $('#oTypeOptions').val();
        $('#ordersGrid').load('grid2.html?oType='+oType);
    });
});
</code></pre>

<p>My question is, how can I retrieve the url parameter "oType" value in the grid page?. Can anyone help?</p>
