I got another tutorial which looks like this, please take a look at the following posted code :
Code:
$("#logbutton ").click(function(){
params = 'uname='+$("#uname").val()+'&password='+$("#password").val();
request = new air.URLRequest(server + 'loginService.php');
request.data = params;
request.method = air.URLRequestMethod.POST;
loader = new air.URLLoader();
loader.addEventListener(air.Event.COMPLETE, loginComplete);
try {
loader.load(request);
} catch (error) {
alert("Error connecting to login server.");
And, I am just telling that you could go for the same technique in the jQuery. Are you sure about the advantage of this to implement in my use within the AIR's AJAX Class ? Thanks for your help and support.
Bookmarks