var param1 = 2;
var param2 = 3;
$(location).href("http://mysite.ru/?a=" + param1 + "&b=" + param2);
$.get(
'mysite.ru',
{
a: 2,
b: 3
},
OnMyQueryIsSuccess
);
function OnMyQueryIsSuccess(data) {}