Bug Tracker

Opened 7 years ago

Closed 6 years ago

#4709 closed feature (invalid)

setRequestHeader

Reported by: phpbasic.com Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: setRequestHeader Cc: wajax@…
Blocked by: Blocking:

Description

Hi guys, I try set header when use ajax method post $.post('url.php',{

'title': 'title test', beforSend: function(o){

o.setRequestHeader('powered: mysite');

}

});

but not work, can you explain me how to setRequestHeader when use $.post Thanks

Change History (1)

comment:1 Changed 6 years ago by dmethvin

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

Use $.ajax; the object in $.post is for data, not ajax options. If you need further help, ask on the forum.

Note: See TracTickets for help on using tickets.