🔒 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
  • 876
    Views
  • 3
    Participants
Last reply from:
claudios

Online now

Members online
1,061
Guests online
6,014
Total visitors
7,075

Forum statistics

Threads
2,348,280
Posts
29,358,035
Members
1,094,412
Latest member
wala_4kongpaki
Back
Top