A
A
arti_djeims2015-10-08 23:47:45
JavaScript
arti_djeims, 2015-10-08 23:47:45

How to make a restart button in js code?

Let's say there is a js code that displays a news feed, and it turns out that news has been added there, but how to make sure that when a person clicks on the "update" button, it is the request to the feed that is updated, well, what would it work without refreshing the page! It turns out how to make a button that will re-launch a certain js code.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2015-10-08
@kentuck1213

Ajax

L
littleguga, 2015-10-08
@littleguga

Read this and this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question