Click here to Skip to main content
13,624,891 members
Rate this:
 
Please Sign up or sign in to vote.
$.ajax({
    url: postUrl,
    type: 'GET',
    dataType: 'json',
    data: { "id": num },
    contentType: "application/json; charset=utf-8",
    success: function (data) {


        $.each(data, function (id, allFollowers) {
            result += 'Title : ' + data + '<br/>';
        });


What I have tried:

I've tried: data.allFollowers[0].screeName, data[0].allFollowers[0].screeName...

I can see these values exist here in debug mode, however it returns a null error..?
Posted 2 days ago
Comments
BryianTan 2 days ago
   
hmmm. Not clear what the code is trying to do. but look like the correct syntax should be
result += 'Title : ' + allFollowers.screeName + '<br/>';

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.180712.1 | Last Updated 13 Jul 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100