Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6410 closed bug (worksforme)

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

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Priority: undecided
Resolution: worksforme
Status: newclosed

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

Note: See TracTickets for help on using tickets.