Bug Tracker

Modify

Ticket #5891 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to fixed

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.