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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T09:01:58+00:00 2026-05-14T09:01:58+00:00

Jquery i dont have alert and firefox i dont have anything in return. The

  • 0

Jquery i dont have alert and firefox i dont have anything in return. The code was working before, database query have successfull records also. What i am missing???

  1. Jquery ajax.

    $.ajax({
      type    : "POST",
      url     : "include/add_edit_del.php?model=teksten_display",
      data    : "oper=search&ids=" + _id ,
      dataType: "json",
      success : function(msg){
       alert(msg);
      }
     });
  1. PHP

       case 'teksten_display':
           $id = $_REQUEST['ids'];           
           $res =  $_dclass->_query_sql(
               "select a,b,id,wat,c,d from tb1 where id='" . $id . "'" );
           $_rows = array();

           while ( $rows = mysql_fetch_array ($res) ) { $_rows = $rows; }
   //header('Cache-Control: no-cache, must-revalidate');
   //header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
   header('Content-type: application/json');

           echo utf8_encode( json_encode($_rows) ) ;
           //echo json_encode($_rows);
           //var_dump($_rows);
           //print_r ($res);

           break;
  1. Firefox response/request header

Date Sat, 24 Apr 2010 22:34:55 GMT
Server Apache/2.2.3 (CentOS)
X-Powered-By PHP/5.1.6
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Content-Length 0
Connection close
Content-Type application/json

Host www.xxxx.be
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-2.fc12 Firefox/3.5.9
Accept application/json, text/javascript, */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Content-Type application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With XMLHttpRequest
Referer http://www.xxxx.be/xxxxx
Content-Length 17
Cookie csdb=2; codb=5; csdbb=1; codca=1.4; csdca=3; PHPSESSID=benunvkpecqh3pmd8oep5b55t7; CAKEPHP=3t7hrlc89emvg1hfsc45gs2bl2
  • 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-14T09:01:58+00:00Added an answer on May 14, 2026 at 9:01 am

    Anyway, i got it, its CentOS 5.4, in my box:
    [root@www include]# php -version
    PHP 5.1.6 (cli) (built: Jan 13 2010 17:09:42)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
    [root@www include]#

    Solution: http://gargiullo.com/tag/json_encode/

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

Sidebar

Related Questions

I have this Code: var items = jQuery('#main .imgteaser .txtwrap'); items.css(opacity,0.8); items.mouseenter(function(){ alert('enter'); jQuery(this).animate({
I've got some jQuery (1.6.2, latest stable) code which is working in Chrome, Firefox,
I dont knwo why the Jquery fade in is not working for my content
I have the following example code, which should pop up an alert when the
I have a handler : (jQuery ver = 1.7) Which return something . Im
I'm using current jQuery plugin (address) and I have this code (I'm using SEO
I have set up my imagemap with the jquery-plugin mapster the code shows me,
I have a problem of jQuery's live() function not working with click, mousedown but
I am working on a asp.net mvc3 application. I have this Jquery function function
I have the following jQuery function: function GetGrandparentDiv(item) { return item.parents('div:eq(1)'); } Which is

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.