- Notifications
You must be signed in to change notification settings - Fork20.6k
Closed
Labels
Milestone
Description
Description
According tojQuery.get documentation you can usenull
as success function to be able to usedataType
. But it seems that it's not working. The only way to get text from JSON response is to use$.noop
. So this need to be fixed or documentation needs to be updated.
I use jQuery 3.6.0.
Link to test case
await$.get("https://httpbin.org/json",null,"text")await$.get("https://httpbin.org/json",$.noop,"text")