Bug Tracker

Opened 12 years ago

Closed 12 years ago

#2046 closed bug (fixed)

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

Reported by: phpmyforum Owned by:
Priority: major Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

Description

The following isn't working as expected:

$.ajaxSetup({

dataType: "json"

});

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

This diff fixes the issue:

2076a2077
>                       dataType: "html",

Change History (1)

comment:1 Changed 12 years ago by davidserduke

Resolution: fixed
Status: newclosed

Fixed in [4155].

Note: See TracTickets for help on using tickets.