jQuery: The Write Less, Do More JavaScript Library

Ticket #2046 (closed bug: fixed)

Opened 5 months ago

Last modified 5 months ago

$.load not working when default dataType is set to json

Reported by: phpmyforum Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.2 Component: ajax
Version: 1.2.1 Keywords:
Cc: Needs: Commit

Description

The following isn't working as expected:

$.ajaxSetup({

dataType: "json"

});

$("#content").load("example.html");

This diff fixes the issue:

2076a2077
>                       dataType: "html",

Attachments

Change History

Changed 5 months ago by davidserduke

  • status changed from new to closed
  • resolution set to fixed

Fixed in [4155].

Note: See TracTickets for help on using tickets.