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

Trending Topics

Online now

Members online
900
Guests online
2,703
Total visitors
3,603

Forum statistics

Threads
2,284,826
Posts
29,026,086
Members
1,220,157
Latest member
smoothoperator071300
Back
Top