Paul Paul - 7 months ago 34
PHP Question

Is there a way to refresh page without using jQuery?

I'm still looking for way to automate refresh in my page. But I'm confused on how to solve this problem without using jQuery and solving it using Laravel 5.3 functions. If someone knows how to solve this please help. It would be great. Thanks in advance.


this is JavaScript basics.

Try this:

<body onload="if (location.href.indexOf('reload')==-1) location.replace(location.href+'?reload');">