🔒 Closed Help:script that reloads tab when div changes

Status
Not open for further replies.

chrischan1

Leecher
Patulong po.

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

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())
location.reload(true);
else
return;
}
 
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.
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 870
    Views
  • 3
    Participants
Last reply from:
claudios

Trending Topics

Online now

Members online
1,158
Guests online
4,855
Total visitors
6,013

Forum statistics

Threads
2,327,328
Posts
29,234,473
Members
1,162,916
Latest member
imbecilelat
Back
Top