Announcement

Collapse
No announcement yet.

refresh button code to pm chat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bosss
    replied
    Originally posted by mito22 View Post
    But.... it's like refresh button of browser or F5 .. not?
    Something like that but on my chat shows not button - refresh

    Leave a comment:


  • mito22
    replied
    But.... it's like refresh button of browser or F5 .. not?

    Leave a comment:


  • bosss
    replied
    firas alhadithy tried but works not

    Leave a comment:


  • 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 pagewithout using the cache.</p>
    <
    button type="button">Reload page</button>
    </
    body>
    </
    html

    add this code in end of pmchat_chatwindow__entry template


    Attached Files
    Last edited by firas alhadithy; 03-09-21, 13:01.
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: 5

    Working...
    X

    AdBlock Detected

    Please Disable Adblock

    Please consider supporting us by disabling the ad blocker.

    I've Disabled AdBlock