facebook

ajax http get

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 16 post (of 16 total)
  • Author
    Posts
  • #326606 Reply

    support-michael
    Keymaster

    @JohnJake2

    Some thoughts:

    1. Using any encoding other than utf-8 for HTTP communications between server and client is generally a bad idea these days. If you can make server-side changes it will be better to change it there….

    2. MobiOne forms do not support customizing request parameters. An option is make your own jQuery ajax request similar to the following snippet.

    Here is the jQuery ajax() function api:
    http://api.jquery.com/jQuery.ajax/

    $.ajax({
            data: $('#m1-formId').serialize(),
            type: "POST",
            url: $('#m1-formId').attr('action'),
            mimeType: "application/x-www-form-urlencoded;charset=ISO-8859-1",
            contentType: "application/x-www-form-urlencoded;charset=ISO-8859-1"
    });

    where formId is ID of the form.

    Thanks to Vadim for his insight into this question.

Viewing 16 post (of 16 total)
Reply To: ajax http get

You must be logged in to post in the forum log in