PDA

View Full Version : content type



chandan.behura
28 Oct 2012, 4:26 AM
How to change the content type of a form to submit the url.

vietits
28 Oct 2012, 4:15 PM
Try this:


<formBasic>.submit({
url: 'point to url',
headers: {
'Content-Type': 'put your content type here'
},
...
})

ehsan.e
17 Feb 2013, 11:38 PM
i try your code , but i does not work , i check , and found that in ext js 4 beta , there is no headers config option, so what can i do ? plz help me