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 6570109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:42:54+00:00 2026-05-25T14:42:54+00:00

I have been writting a CMS, and im currently working on a remote Updater

  • 0

I have been writting a CMS, and im currently working on a remote Updater script, so users can update the CMS with a click of a button. Problem is, i cant see to get this JS snippet below to work:

    <script type="text/javascript">
    $(document).ready(function() {
        $('#update').html('Checking for updates...');
        check();
      });

    //function to check for new updates
    function check(){

        //use ajax to run the check
        $.post("http://updateserver.come/get_update.php", { version: cms_version },
            function(result){
                //if the result is 1
                if(result == 1){
                    //show that there are updates
                    $('#update').html('Updates is Available');
                }else{
                    //show that there are NO updates
                    $('#update').html('Updates are not Available');
                }
        });

    }
    </script>

<div id="update"></div>

The problem is, when JS gets the response, it doesnt update the text between the divs. Anyone have a clue why this is?

  • 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-05-25T14:42:55+00:00Added an answer on May 25, 2026 at 2:42 pm

    Web applications are limited by the so-called Same Origin Policy, which restricts requests to the same domain. If your app doesn’t live in the same domain as the web service you’re trying to POST to, the browser won’t let it happen.

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

Sidebar

Related Questions

I am currently writing a CMS and remember someone (it might have been on
I have been writting a keyword search script based on this tutorial: http://www.hackosis.com/2007/11/06/howto-simple-search-engine-with-php-and-mysql/ Like
I have been writing a python script and I am having a problem with
I have been tasked with writting a report from MS Dynamic CRM. The report
All, I have been writting Windows Services for a while in C# deriving from
I have been working on trying to leverage data contained in an Access Database
I have been writing a growing code base in Haskell. My problem is that
I have been writting a socket server in python. I want to send data
I have been writing code without realizing WHY I can access constant values within
I have been writing a cms with MVC being used as the main engine

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.