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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:55:38+00:00 2026-05-27T03:55:38+00:00

I am using ColdFusion 9.0.1 and jQuery 1.6.2. I am doing an call using

  • 0

I am using ColdFusion 9.0.1 and jQuery 1.6.2.

I am doing an call using CFAJAXPROXY and jQuery like this:

var jro = new jsApp();
MyResults = jro.getProductPricing(CustomerID, OrderID, ProductID);

I will always get one result back. Here is a sample of the result I get back:

{"COLUMNS":["PRICE","POINTS","BV","DESCRIPTION"],"DATA":[[14.990000,6.8,6.00,"CLEAR VANILLA 11OZ-325ML"]]}

When I get this result back, I need to parse it and populate spans within the page.

I have never tried to parse JSON like this. This seems like it should be very simple to parse, but every example I see makes it look like rocket science. How to I use jQuery to get at the PRICE, POINTS, BV, and DESCRIPTION columns? Is there a bad way to do this? What’s a good way?

  • 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-27T03:55:39+00:00Added an answer on May 27, 2026 at 3:55 am

    There’s setQueryFormat('column') that you can call before invoking the webservice so that the resulting JSON object is easier to access or manipulate, but the down side of this is the resulting JSON string will be bigger because the column names are repeated for every record in the recordset.

    If you use the cfajaxproxy tag and call the proxy object’s
    setQueryFormat function with a parameter value of column ColdFusion
    client-side binding and proxy code does not convert column format data
    into JavaScript that is consumed directly by HTML grids. However, use
    this format with the cfajaxproxy tag, because you can refer to the
    returned data by using the column names directly. For example, if a
    CFC function returns a query with user data, you get the user names in
    your JavaScript by specifying values such as userData.firstName[0] and
    userData.lastName[0].

    CF Dev Doc: Using data interchange formats
    -> Controlling CFC remote return value data format

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

Sidebar

Related Questions

I am using this new jQuery plugin called jsTree www.jstree.com and using the HTML
I'm using coldfusion and jquery. This is my first real go at jquery and
I am using ColdFusion 9 and jQuery. I am using CFAJAXPROXY. I have am
I've got a successful call going out to a coldfusion database controller using jQuery's
I am using ColdFusion 9 and jQuery. I am new pretty new to using
I am using ColdFusion (Railo 3.3), and I have several forms using jQuery that
I am using jQuery/FLOT to draw a graph, I would like for the user
Using jQuery 1.7.2 $(function(){ $('#parentElem').mouseenter(function(){ $('.myElem').animate({opacity:1}, 'fast'); }).mouseleave(function(){ $('.myElem').stop().animate{opacity:0}, 'slow'); }); }); In this
Rebecca Murphy talks about using jQuery templates. The JSON that Rebecca uses looks like:
How do I post a form using jQuery.post() to a Coldfusion.cfc method and return

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.