0
Update values without refreshing page
Hi! I'm currently working on a project using javascript and HTML. My problem is that my values that i print on the webpage won't update dynamically, Therefore i must refresh the page for the values to update. The values i'm trying to update are imported from a google spreadsheets and printed on the webpage. So what i would like to ask is if there is any way of updating these values without having to refresh the page?
2 ответов
+ 8
Ajax
+ 1
@ValentinHacker is right... look at 'XMLHttpRequest' in Javascript references:
http://www.w3schools.com/xml/xml_http.asp
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest