header
Collapse
refresh button code to pm chat
Collapse
X
-
refresh button code to pm chat
welcome
..
This code
Resolve the delay arrive in pm chat
When you press this button
the page will reload as a simple refreshing and you will receive messages immediately
code
PHP Code:<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery Reload the Current Page</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
location.reload(true);
});
});
</script>
</head>
<body>
<p>Click the following button to reload this page, without using the cache.</p>
<button type="button">Reload page</button>
</body>
</html>
add this code in end of pmchat_chatwindow__entry template
Last edited by firas alhadithy; 09.03.21, 13:21.
X
Thread Information
Collapse
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Those who read this thread
Collapse
Members who have read this thread: 13
widgetinstance 297 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
multiplex reklam paga
Collapse
Leave a comment: