Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
James Moran
7,271 PointsCreate multiple pages from one HTML using JSON file and AJAX
Hello,
I have created a webpage, and its content is updated using AJAX. However, I would like to create a version of this page for every object within the JSON file.
Or if this can not be done, I would like to update the pages content depending on the link clicked to arrive at that page.
I hope that makes sense. This is the page I am talking about: http://dev.gohire.io/application-info.html
Thanks!
(Also, I am only the frontend dev, there is also a backend dev)
1 Answer
Steven Parker
243,656 PointsYou'd need the back-end folks to provide multiple pages, but from the front-end, this sounds like it might be a good opportunity to use tabs. If you use a framework, support may be built in, or there are many available packages including JQuery UI.