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.
In my index.html page I've this code,
$(document).ready(function() {
$('#orderTypeOptions').change(function() {
var oType = $('#oTypeOptions').val();
$('#ordersGrid').load('grid2.html?oType='+oType);
});
});
My question is, how can I retrieve the url parameter "oType" value in the grid page?. Can anyone help?