It looks like you need to attach to a form or to certain links. If the event is triggered by a link, and there is a query string full of variables, it will act as a GET. If this is a form, you will need to check the METHOD and then provide the URL based on the data provided in the form itself.
<a href="thisPage.php">No method</a>
<a href="thisPage.php?usrName=jonathan">GET method</a>
<form method="GET" action="thisPage.php">
<input type="text" name="usrName" value="jonathan" />
</form>
<form method="POST" action="thisPage.php">
<input type="text" name="usrName" value="jonathan" />
</form>
, , .
$("form").submit(function(){
var method = $(this).attr("method");
alert(method);
});
$("a.checkMethod").click(function(){
var isGet = $(this).attr("href").get(0).indexOf("?");
alert(isGet);
});