$.ajax - Accept..

$.ajax - Accept..

Hi,

Can someone explain how "Accept" works in a $.ajax call..??

If I set the Accept  : "xml" and the webservice return Text.. what happens??

Is the error, complete or success function called??

Documentation seems a bit short on that point..

Thx in advance

Soren