jqXhr.abort()的替代方法

I need to selectively abort some ajax requests.

In fact I do something like a search. When the user changes the search term the result for all previous searches don't matter to me any more. So I want to cancel all callbacks for previous calls.

I read jquery documentation and found jqHhr.abort() is possible but still there for backward compatibility. Does this mean it will become deprecated or is the abort function the correct way? How to achieve this otherwise?