Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Update dom without reloading the page

Started by yehuda 5 years ago · 3 replies · 777 views
5 years ago

I understand how to have a twig calling a function to receive content onPageLoad. However I am wondering if it is possible to call a function and return from user input without refreshing the entire page.
in other words: dynamic content

5 years ago

I have one word for you - JavaScript

👍 1
5 years ago

I have two more: AJAX and PJAX. Really any reactive JavaScript framework; Vue, React, etc.

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 1 week ago
0 141 1 week ago
General · by lynbor, 1 month ago
3 458 2 weeks ago
General · by lynbor, 3 weeks ago
7 595 2 weeks ago
General · by Harry, 2 weeks ago
0 179 2 weeks ago
General · by Old Man Umby, 1 month ago
2 322 4 weeks ago