Skip to content

$.ajax() scriptCharset usage is unclear #182

@dmethvin

Description

@dmethvin

http://bugs.jquery.com/ticket/12950

Current

Only for requests with "jsonp" or "script" dataType and "GET" type. Forces the request to be interpreted as a certain charset. Only needed for charset differences between the remote and local content.

Suggested:

Only applies when the "script" transport is used (i.e., cross-domain requests with "jsonp" or "script" dataType and "GET" type). Sets the charset attribute on the script tag used in the request. Used when the character set on the local page is not the same as the remote script.

Perhaps reference http://www.w3.org/TR/html-markup/script.html#script.attrs.charset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions