Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8878751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:47:20+00:00 2026-06-14T19:47:20+00:00

Below are the script that I use on my website to send instant messages.

  • 0

Below are the script that I use on my website to send instant messages. It works fine in 99,9% of cases, but from time to time some user reports that he/she can’t send messages.
Today I received a new report from MIE 8.0 user. I checked server’s logfiles and discovered that this script is being ignored by MIE 8.0. When user clicks “Send” button, instead of POST request, browser sends GET request with all form data to the same file where the form is located. This user says that a few days ago everything was working fine. I didn’t change anything in my files and I don’t think that this user a few days ago upgraded MIE to 8.0 (the most recent version is 9.0). I have this problem more than 3 years. There are not so many users who have reported this problem but anyway I want to find a solution. Is it possible that the script doesn’t work because is located inside of instead of ?

Any ideas what may cause this problem? Thanks.

<script type="text/javascript">                                         
$(document).ready(function(){
$("#sendmessage").submit(function(){
    $("#note1").show().html('<div style="text-align: center;">Sending</div>');
    var str = $(this).serialize();
    $.ajax({
        type: "POST",
        url: "/messages.php?do=send",
        data: str,
        success: function(data) {
            if (data == "ERR1") {
                result = '<div class="red">Error1 1</div>';
                $(this).html(result);
            } 
            else if (data == "ERR2") {
                result = '<div class="red">Error2</div>';
            } 
            else {                              
                $("#fields").hide();
                result = data;
            }
            $('#note1').hide();
            $("#note").hide();
            $("#note").fadeIn(1000).html(result);
        }
    });
    return false;
  });
});
</script>

<form id="sendmessage" name="sendmessage" onsubmit="doCheck();">
...
<textarea></textarea>
...
<input type="submit" value="Send" onclick="doCheck();" />
</form>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:47:22+00:00Added an answer on June 14, 2026 at 7:47 pm

    Look at this post to see if the solution helps you. That user was saying that the format of his URL was causing a GET instead of a POST as you suspected. Try this URL instead:

    url: "/messages/?do=send"
    

    OR

    url: "/messages.php?do=send"
    

    Or whatever the proper extension would be depending on your backend language.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the script shown below that displays a list of records from a
Below you could see template of SQL script that i'm trying to execute on
I was searching for a drop down list script that auto-updates the content below
I am trying to modify the script below to click a button that looks
I've tried the below script but I am getting an error: dim cn, rs
i am trying to run the below script SELECT field_value FROM jos_js_res_record_values jrv INNER
I have a javascript code from visual website optimizer that will be placed on
The code below works on one page, but not another page (the place it
I'm trying to write a script in powershell that i can use to get
I'm trying to use Sencha Touch script tag proxy so that I can consume

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.