User Profile

Collapse

Profile Sidebar

Collapse
heybobo
heybobo
Last Activity: Dec 31 '11, 11:24 AM
Joined: Dec 28 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • heybobo
    replied to display json data using AJAX
    SOLVED

    ------->

    solution :

    var obj = jQuery.parseJSO N(data);

    alert( obj.a);


    thx to all for you help !
    See more | Go to post

    Leave a comment:


  • heybobo
    started a topic display json data using AJAX

    display json data using AJAX

    Hi,

    my aim is to display the content of my json data i receive from my php file.

    php is sending :

    PHP--->

    $arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);

    echo json_encode($ar r);

    <---


    AJAX--->
    ajax is receiving "data" and displaying : data = {"a":1,"b":2,"c ":3,"d":4,"e":5 }...
    See more | Go to post
No activity results to display
Show More
Working...