You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then I should see the alert immediately upon receiving the response, even if I never add the response text to the DOM. This does not in fact happen, at least in the versions of jQuery I tried (1.4.0 and 2.1.0). As far as I can tell, the second statement is thus simply false and should be removed.
My apologies if I have somehow misunderstood the second quoted sentence, which seems quite possible - the behaviour that I interpret it as describing would be rather bizarre if it were in fact implemented.
The text was updated successfully, but these errors were encountered:
The jQuery.ajax docs contain the following two statements about the behaviour of the "html" dataType:
(emphasis mine).
Unless I am misinterpreting what I am reading, these statements directly contradict each other.
If I understand it correctly, the second statement means that if I send an ajax call to somefile.html and get a response of
then I should see the alert immediately upon receiving the response, even if I never add the response text to the DOM. This does not in fact happen, at least in the versions of jQuery I tried (1.4.0 and 2.1.0). As far as I can tell, the second statement is thus simply false and should be removed.
My apologies if I have somehow misunderstood the second quoted sentence, which seems quite possible - the behaviour that I interpret it as describing would be rather bizarre if it were in fact implemented.
The text was updated successfully, but these errors were encountered: