V
V
Vitaly Pukhov2015-10-16 11:16:21
JavaScript
Vitaly Pukhov, 2015-10-16 11:16:21

How to display a table from json on a web page without php?

There is a site that gives a table (2 columns, several lines) in any format (json, csv, etc.), you need to somehow display it beautifully on the page, the main thing is that you can update the data without any special lags or reloading the page (although not necessarily ). I don’t usually do web development myself, so the level of knowledge is minimal. As I see it for myself, the html file with js and css is in the same folder, I open it and see a plate in which the data is loaded from another site. What is better to use for implementation?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Ineshin, 2015-10-16
@Neuroware

1. You can get the data like this: jQuery Cross-Domain AJAX Request methods
2. After getting the data, you need a template engine, for example this one: Handlebars.js
3. Profit!

V
Vitaly Pukhov, 2015-10-16
@Neuroware

Thanks for the advice everyone, combined everything into 1, here is what happened)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question