Bug Tracker

Opened 14 years ago

Closed 13 years ago

#4709 closed feature (invalid)


Reported by: phpbasic.com Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: setRequestHeader Cc: [email protected]
Blocked by: Blocking:


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 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

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.