Problem with Jquery.get

Problem with Jquery.get

I am trying to use the Jquery ajax get method as follows
$.ajax({
url: temp_url,
type: 'GET', 
data: datatemp,
error: function()
{
alert("This is an error");
},
success: function(e) 
{
alert(e);
//ProcessRequest();
},
complete: function(e)
{
alert("This request is complete");
}
});

None of the alert statements get executed and the query does not work. 
The temp_url is a url to the localhost:8080 server.  I am a newbie in JQuery. I also used other datatypes like jsonp which also does not get executed. 
$.ajax({
dataType: 'jsonp',
jsonp: 'jsonp_callback',
url: temp_url,
success: function (e)
{
// do stuff
alert("This is a success");
alert(e);
},
});

Am I missing something that is very obvious ?

Thanks.