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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:53:33+00:00 2026-06-08T18:53:33+00:00

I use jquery .ajax() to send data and i get data back throe json!

  • 0

I use jquery .ajax() to send data and i get data back throe json! works fine on all browsers, except on “windows xp” Firefox.

.ajax() sends data with no errors! And I don’t even get back any error messages from json!

I assume that error is in .ajax() because if there is no errors from json, then data is sent wrong.

function feedPage(div_id, feed_id, to, page){
    $.ajax({
        url: iloc,
        type: "POST",
        dataType: 'json',
        data: "a=feed_page&div_id="+div_id+"&feed_id="+feed_id+"&page="+page+"&to="+to,
        dataType: "text",
        success: function(d){
            var obj = eval('('+d+')');
            $("#page_now").html(obj.page);

            if(div_id == 1) {
                div_id = 0;
            }

            hideButton(obj.hide_button, div_id, feed_id, obj.page);
            delete obj["page"];
            delete obj["hide_button"];

            if(obj.rss_title) {
                $("#feed_title").html("<h1>"+obj.rss_title[0]+"</h1>");
                delete obj["rss_title"][0];
                $("#last_page").html(obj.last_page);
            }

            if(obj.all_feeds) {
                $("#jaunumi").append("ir");
                delete obj["all_feeds"];
            }

            $("#feed_id ul").scrollTop(0);
            $("#feed_id").empty();

            for (var i in obj){
                $("#feed_id").append(obj[i].title);
                $("#feed_id").append(obj[i].description);
            }

            if(div_id == 0) {
                var feed_div_offset = $("#feed_id").offset();
                var feed_div_offset_top = feed_div_offset.top - 100;
                $('html, body').animate({ scrollTop: feed_div_offset_top }, 'slow');
            }

            $(".tablo_slash").html("/");
        }
    });
}
  • 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-08T18:53:33+00:00Added an answer on June 8, 2026 at 6:53 pm

    I fixed the problem!

    my “iloc” variable was rejected by browsers, because it contained “http://www……” so it assumed that file is on different domain and didn’t even tried to look for it!

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

Sidebar

Related Questions

i use json_encode to send back data from php to jquery through ajax. and
I have use Ajax and jquery for get data from database and send data,
I use $.get(... syntax to send my form data with Jquery Ajax. I want
I use the jQuery ajax function to send data to 2 php scripts. The
I want to use jQuery's .get method to send an ajax call to the
I am trying to use jquery's ajax $.get(...) function to send a request to
I am starting to use the jquery $.ajax() but I can't get back what
My question is when I use jQuery ajax get, I am getting data at
I'm trying to use jquery.Ajax to post data to an ASP.NET MVC2 action method
Assume we use jQuery.ajax() to POST data with two parameters, game_id and player_id .

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.