Results 1 to 3 of 3

Thread: content type

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
      0  

    Default content type

    How to change the content type of a form to submit the url.

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    347
    Vote Rating
    116
      0  

    Default

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

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Posts
    8
    Vote Rating
    0
      0  

    Default

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •