Bug Tracker

Modify

Ticket #5826 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

$.POST() AND $.GET() "Type" BUG

Reported by: HexKrak Owned by:
Priority: major Milestone: 1.4.1
Component: ajax Version: 1.4
Keywords: post, get, ajax Cc:
Blocking: Blocked by:

Description

$.post(

'/path/to/action', {key:val, key2:val2}, function(json, status, xml){

alert('test');

}, 'json'

);

Results in the callback function never being called, however; remove the "status" parameter ('json') and the callback function is executed properly.

This appears to be the same issue as ticket #5093, but is verified on 1.4.

Change History

comment:1 Changed 3 years ago by addyosmani

#5093 is a duplicate of this ticket.

comment:2 Changed 3 years ago by snover

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

 live test case works for me. Please reopen this ticket if you can provide a reduced test case.

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.