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

  • SEARCH
  • Home
  • 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 7836027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:55:27+00:00 2026-06-02T13:55:27+00:00

im currently working with jQuery ajax and i get some unexpected error. I use

  • 0

im currently working with jQuery ajax and i get some unexpected error.
I use firebug to debug javascript.
In my console the GET request link is red.

My jQuery isn’t realy hard…

$.ajax({
    method: "post",
    url: '/scores/update/' + $(this).val(), <-- could be '/scores/update/1'
    success: function( msg ) {
        $('.feedback').html( msg ).fadeIn();
    }
});

The map scores/update dont realy exists. I use htacces make the link into. index.php?uri=scores/update/1. After this $_GET[‘uri’] is going in my router.php and this will be direct to the following method

class scores()
{

   public function update($int)
   {

       echo $int;

   }
}

What am i doing wrong?
The echo wont be send, the link in my firebug console is red. Is this a cross-domain error? Is it my htaccess? It is driving me crazy.

Thanks in advance!

  • 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-02T13:55:29+00:00Added an answer on June 2, 2026 at 1:55 pm

    I got the fix, In any case thanks guys.

    The fix:

    I had

    <input type="submit" name="score" value="1" class="score button1" />

    and jquery want me to have

    <input type="button" name="score" value="1" class="score button1" />

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

Sidebar

Related Questions

I am working on a AJAX/jquery notification script. Currently it retunrs a whole fhtml
I'm currently working with jQuery 1.4.2 and jQuery UI 1.8.2. I'm experiencing some weird
I am currently working on a game in PHP and jQuery and at some
I am converting a javascript/php/ajax application to use jQuery to ensure compatibility with browsers
I'm trying to generate some XML for a jQuery.get (AJAX) call, and I'm getting
I need some jQuery ajax help. I currently have a main content div that
I'm currently working on a project with the framework CodeIgniter. I use jQuery 1.7.1
I am working on parsing some xml via jquery ajax. I have things working
I'm currently working on a jQuery script that will translate the site's text into
I am currently working with the jQuery validation plugin , and I want to

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.