0

There is an existing link on the page that updates the data on the page. (provides the next 15 records)

<li>
  <a href="#statistic=general;page=4;name=" target="self" class="ABC">
    <span class="btnBg">&nbsp;</span>
    <span class="icn next">&nbsp; </span>
  </a>
</li>

Is there a way using JQuery or Javascript to have my JQuery function execute right after the above link is updated?

user2085388
  • 3
  • 1
  • 3

1 Answers1

0

I think you can get it done with the help of DOM change event.

Please find the link below to get correct answer on this..

jQuery DOM change

Mutation Events

Or else if you know the place where the content is getting modified then you can handle your logic at that place too.

Community
  • 1
  • 1
K D
  • 5,889
  • 1
  • 23
  • 35
  • To clarify: The above link updates the data on the page. (Provides the next 15 records) How it does is very complicated and way above my JQuery knowledge. I believe it is JQuery that they use. What I am looking for is the possibility to add my own function to execute immediately after the existing one completes it update. So really adding additional code to get executed. – user2085388 Mar 01 '13 at 06:41
  • [**Mutation events are deprecated**](http://www.w3.org/TR/DOM-Level-3-Events/#events-mutationevents); do not use them. – Brock Adams Mar 01 '13 at 07:00