A
A
assadasd932018-03-05 16:32:10
Socket.io
assadasd93, 2018-03-05 16:32:10

How to make a beautiful display of data on the site?

I am writing a website using socket.io. There is a function that takes a dictionary:

socket.on('my_pos', function(msg) {
                $('#log').text('Изменение за 10 минут #' + msg.count + ': '  + msg.data);
            });

Dictionary in the msg.data variable
How can I make it so that all this is displayed not just in an ugly dictionary with all the numbers in a row, but in a table?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question