Modify ↓
Ticket #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: | |
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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