Skip to main content

Bug Tracker

Side navigation

#1788 closed feature (fixed)

Opened October 09, 2007 07:38PM UTC

Closed October 14, 2007 08:52PM UTC

$.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

Attachments (0)
Change History (2)

Changed October 14, 2007 08:28PM UTC by Bradley comment:1

component: coreajax
priority: blockerminor
type: bugfeature

Changed October 14, 2007 08:52PM UTC by Bradley comment:2

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