Jump to content

loading data into table


Brandon Jaeger

Recommended Posts

hi guys, very long time since i've been here.. i'm making a facebook application and could use some help starting it since i don't know much about ajax.

 

this is what i'm trying to do (i hope it makes sense):

1. request link to page with JSON code
2. take those items and put them into an array inside the script
3. load those links from array in background while displaying their icon in a 5x5 html table
4. when all of the pages loading in the background are done, display an image below the icon in the table
5. repeat these steps without refreshing the page as soon as all pages are fully loaded.

this is what the page looks like with the JSON code that i need to load (there can be up to 25 picture/link combos):
[
   {
     "picture":"URL_TO_PICTURE",
     "link":"URL_TO_SITE"
   },
   {
     "picture":"URL_TO_PICTURE",
     "link":"URL_TO_SITE"
   },
   {
     "picture":"URL_TO_PICTURE",
     "link":"URL_TO_SITE"
   }
]
i've also attached a sample of what i need the data to load into.

if someone could help me out with this i would GREATLY appreciate it!!!

thank you
Link to comment
https://forums.phpfreaks.com/topic/284817-loading-data-into-table/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.