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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:03:00+00:00 2026-06-16T02:03:00+00:00

here is my sample json data {Caption:BBA Feedback Form ,Notes:Fields marked with \u003cfont size=\-2\

  • 0

here is my sample json data

{"Caption":"BBA Feedback Form ","Notes":"Fields marked with \u003cfont size=\"-2\"  color=\"#e30102\" face=\"Verdana\"\u003e (*) \u003c/font\u003e are  compulsory","Name":"Name\u003cfont size=\"-2\" color=\"#e30102\" face=\"Verdana\"\u003e * \u003c/font\u003e","Subject":"Subject\u003cfont size=\"-2\" color=\"#e30102\" face=\"Verdana\"\u003e * \u003c/font\u003e","Email":"Email Address\u003cfont size=\"-2\" color=\"#e30102\" face=\"Verdana\"\u003e * \u003c/font\u003e","Details":"Feedback\u003cfont size=\"-2\" color=\"#e30102\" face=\"Verdana\"\u003e& nbsp;* \u003c/font\u003e"}

i want to parse it with jquery and fill my label. i tried like this below way but things did not work.

    function LoadEnquiryData() {
    $.ajax({
        type: "POST",
        url: urlToHandler + "?ac=show",
        data: {},
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function (data) {
            $("input[id*='enq_lblcaption']").val(data["Caption"])
            $("input[id*='enq_lblnotes']").val(data["Notes"])
            $("input[id*='enq_lblfield_name']").val(data["Name"])
            $("input[id*='enq_lblfield_subject']").val(data["Subject"])
            $("input[id*='enq_lblfield_email']").val(data["Email"])
            $("input[id*='txtEnqDetails']").val(data["Details"])
            $("input[id*='btnEnqSubmit']").val(data["SubmitVal"])

        },
        error: function (XMLHttpRequest, textStatus, errorThrown) {
            alert(textStatus);
        }
    });
}

so please guide me how to parse it. thanks

  • 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-16T02:03:01+00:00Added an answer on June 16, 2026 at 2:03 am
    $("input[id*='enq_lblcaption']").val(data.Caption)
    $("input[id*='enq_lblnotes']").val(data.Notes)
    and so on...
    

    My bad, you don’t need parseJSON for this – I was already working with it for something else and just popped it in here. I’ve edited my code above and this should work fine.

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

Sidebar

Related Questions

I'm getting a JSON response from the YouTube Data API. Here is a sample
Here is my sample url: url.com/data?format=json&pro={%22merchanturl%22:%22http://url.com/logo.pn‌​g%22,%22price%22:599,%22productDesc%22:%22Apple%2032GBBlack%22,%22prodID%22:%2291‌​3393%22,%22merchant%22:%224536%22,%22prourl%22:%22http://url.com/data%22,%22name%‌​22:%22Apple%2032GB%20%2D%20Black%22,%22productUrl%22:%22http://www.url.com/image.‌​jpg%22,%22myprice%22:550,%22mercname%22:%22hello%22,%22mybool%22:false} I have an android app. I need to
here i attach a sample code. they used JavaScriptSerializer to generate data in json
Here is a sample run of simple json using python2.4 version >>> >>> orig='{key1:Val,
Here is sample data <table class=sparql border=1> <tr> <th>abstract</th></tr> <tr> <td> Cologne is Germany&#39;s
Data: Here is sample table(TableA) data ID StartTime EndTime 1 2012-03-22 06:00:00.000 2012-03-22 06:30:00.000
Here's a sample column of my data frame, RR is a header : RR
I'm working on a Bubble Chart using Highcharts. Here's a sample of my data:
I have some problems getting the custom formated JSON data into a dijit.form.FilteringSelect. It
I have a web service that returns a raw string of JSON data (sample

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.