Javascript detection of object refresh

I have an html object on one of my pages that has a form that submits to itself (and then refreshes said object). My question is, how do I detect the object update/refresh?


<div id="nDiv">
   <object id="nObj" data="someURL.php" type="text/html"></object>
</div>

Code (markup):


from JavaScript http://ift.tt/28ViInb
via IFTTT
Previous
Next Post »
Thanks for your comment