Bug Tracker

Opened 11 years ago

Closed 11 years ago

#5891 closed bug (fixed)

Documentation error: jQuery.getScript()

Reported by: joemaller Owned by:
Priority: minor Milestone: 1.4.1
Component: unfiled Version: 1.4
Keywords: documentation Cc:
Blocked by: Blocking:

Description

The jQuery.getScript documentation pagedescribes the full jQuery.ajax() function as:

$.ajax({

url: url, type: 'script', success: success

});

'type' is incorrect, it should be 'dataType':

$.ajax({

url: url, dataType: 'script', success: success

});

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: fixed
Status: newclosed

Fixed, thanks! Feel free to comment on the api page itself if you see any other problems.

Note: See TracTickets for help on using tickets.