Apr
29
accepted json_encode output in PHP not giving the data a label so it can be accessed
Apr
29
comment json_encode output in PHP not giving the data a label so it can be accessed
Ah! I think I understand now. But it doesnt seem to be working. This jsfiddle.net/Pw32q Prints out Uncaught TypeError: Cannot read property 'title' of undefined - EDIT, I tried the code that dianuj suggested and I think it interfered with your suggestion, I removed it and it worked! Thank you :)
Apr
29
comment json_encode output in PHP not giving the data a label so it can be accessed
I dont fully understand I am afraid. So json[1].title should print "1", is that correct?
Apr
29
comment json_encode output in PHP not giving the data a label so it can be accessed
That prints out this { "data": [ { "id": "1", "title": "1...", "img": "1.jpg" }, { "id": "2", "title": "2", "img": "2.png" } ] } How would I access that in jQuery?
Apr
29
asked json_encode output in PHP not giving the data a label so it can be accessed
Feb
1
awarded Popular Question
Dec
6
awarded Famous Question
Sep
28
awarded Notable Question
Sep
21
awarded Custodian
Aug
23
awarded Popular Question
Jul
9
accepted Apply animate to new elements that have been added dynamically
Jul
4
answered Apply animate to new elements that have been added dynamically
Jul
4
comment Apply animate to new elements that have been added dynamically
Sorry, the data that is returned is a image with the class newly-added :)
Jul
4
asked Apply animate to new elements that have been added dynamically
Jul
3
accepted Auto updating list scrolling
Jul
3
comment Auto updating list scrolling
Okay thank you, is there a way i can use the data that has been retrieved from a ajax post in a append?
Jul
3
comment Auto updating list scrolling
right, i see. But how would i make it slide in?
Jul
3
asked Auto updating list scrolling
Jul
2
accepted IF statement not changing outcome of variable
Jul
1
comment IF statement not changing outcome of variable
You do not know how big of'a fool i feel. I remember doing this back when i was learning PHP. You sire, are a saint.
1 2 3 4 5