My knowledge of the ajax functions of jquery are rather limited to be
honest, I deal with the frontend aspects mainly.
I don't know if this would work, I assume it would. There are a few
regulars on this list who could help you with this a lot better then I can.
$.ajax({
type: "GET",
ur
Ok, but what would the statusText print out ? And is there any way I can
customise the message ?
On Thu, Feb 12, 2009 at 2:35 PM, Liam Potter wrote:
>
> $.ajax({
> type: "GET",
> url: "some.php",
> data: "name=John&location=Boston",
> success: function(msg){
> alert( "Success" );
> }
> er
$.ajax({
type: "GET",
url: "some.php",
data: "name=John&location=Boston",
success: function(msg){
alert( "Success" );
}
error: function(emsg){
|alert(xhr.statusText);
}|
});
|
|
Jack Mack wrote:
But how would I handle the error messages ? I have custom errors for
each of the
But how would I handle the error messages ? I have custom errors for each of
the server errors. Then I have a functionality error handler if the server
code prints out an exception in XML.
On Thu, Feb 12, 2009 at 2:25 PM, Liam Potter wrote:
>
> $.ajax({
> type: "GET",
> url: "some.php",
> data
$.ajax({
type: "GET",
url: "some.php",
data: "name=John&location=Boston",
success: function(msg){
alert( "Success" );
}
});
this isn't a direct translation of your js to jquery but this shows the
principle.
shapo wrote:
Hi Guys
I am having a tough time getting the hang of jQu
5 matches
Mail list logo