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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:31:43+00:00 2026-05-27T21:31:43+00:00

Are there any CodeIgniter libraries that help simplify the process of using jQuery JSON

  • 0

Are there any CodeIgniter libraries that help simplify the process of using jQuery JSON with Ci?

  • 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-27T21:31:44+00:00Added an answer on May 27, 2026 at 9:31 pm

    Well, there is an ajax helper:

    http://codeigniter.com/wiki/jQuery_Ajax_Helper

    But why do you really need it?

    What I usually do is just add this to my controllers:

    if($this->input->is_ajax_request())
    {
      echo json_encode($something);
      exit;
    }
    

    The “$this->input->is_ajax_request()” is part of the Input library.

    That way, you can use the same controllers for both ajax and non ajax requests and just conditionally include logic.

    You can do GET and POST requests with jQuery .ajax: http://api.jquery.com/jQuery.ajax/

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

Sidebar

Related Questions

Are there any AJAX libraries for Codeigniter v2.x? Seems like Codeigniter is missing out
Is there any way to check whether a file is locked without using a
Is there any free or commercial component written in .NET (no COM interop) that
Is there any difference writing the code in normal php and php in codeigniter.
Is there a codeigniter plugin that allows me to quickly create find by functions
Is there any testing framework for CodeIgniter?
Is there any Helper class available for codeigniter to translate german characters to pass
Is CodeIgniter suited to building high traffic sites ? Are there any examples of
Is there any possibility to expose CFPropertyList for IPhone application from CodeIgniter website. I
I'm developing an app using Codeigniter 1.7.3 (yes, I know there's a new version,

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.