Skip to main content

Bug Tracker

Side navigation

#6410 closed bug (worksforme)

Opened April 08, 2010 03:48AM UTC

Closed November 10, 2010 12:22AM UTC

$.ajax will through parsererror if option data is not assign

Reported by: maxi326 Owned by:
Priority: undecided Milestone:
Component: ajax Version: 1.3.2
Keywords: parsererror Cc:
Blocked by: Blocking:
Description

even if the server don't need any argument, data : "{}" is still needed.

if data is not assign, the server returns correct response, will still result in parsererror which is not the case.

Attachments (0)
Change History (1)

Changed November 10, 2010 12:22AM UTC by dmethvin comment:1

priority: → undecided
resolution: → worksforme
status: newclosed

As long as you don't access the data property in the callback it isn't needed.