Bug Tracker

Opened 15 years ago

Closed 15 years ago

#1788 closed feature (fixed)

$.ajax is allways evaluating scripts

Reported by: fourat Owned by:
Priority: minor Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

Description

$.ajax call is allways evaluating returned data from the server
There's no dataType to determine if it should evaluate or not the data.
A dataType='plain' will satisfy the bug.
Detected in v1.2.1

Change History (2)

comment:1 Changed 15 years ago by Bradley

Component: coreajax
Priority: blockerminor
Type: bugfeature

comment:2 Changed 15 years ago by Bradley

Resolution: fixed
Status: newclosed

This is a problem with the documentation and not a bug. Use the dataType "text".

The ajax documentation for dataType has been updated to reflect this: http://docs.jquery.com/Ajax/jQuery.ajax#toptions

Note: See TracTickets for help on using tickets.