Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Null value in jQuery.get doesn't allow use of dataType #4989

Closed
@jcubic

Description

@jcubic

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")

https://jsbin.com/safuliduje/edit?html,css,js,output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp