1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

HTML, CSS & Javascript Help:script that reloads tab when div changes

Discussion in 'Coding, Programming' started by chrischan1, Jul 24, 2016.

  1. Patulong po.

    <span class="user--point">
    <div class="points">756 pts</div>

    ano po kaya script para dito. Dapat po kasi kapag nagbago value ng "points" magrereload ang chrome tab, kapag hindi naman nagbago babalik sya simula ng script.

    ito po script ko. hindi gumagana. newbie sa javascript.

    function checkForChanges()
    if ($('user--point').contentchanged())
  2. Use AJAX :) .. Instant Refresh .. without Reloading your Browser ..
    Good luck :)
    Last edited: Jul 24, 2016
  3. Static po ba yang gawa mo TS? kung may mga data kayo galing sa server-side, gamitan nyo AJAX. Marami options jan eh. like on success function niya reload mo yung specific na div.
Tags / Keywords:

Share This Page