1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Javascript detection of object refresh

Discussion in 'JavaScript' started by lektrikpuke, Jun 25, 2016.

  1. #1
    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):
     
    lektrikpuke, Jun 25, 2016 IP
  2. lektrikpuke

    lektrikpuke Well-Known Member

    Messages:
    297
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    113
    #2
    Okay, decided to go with AJAX. Thanks anyways, guys/gals.
     
    lektrikpuke, Jul 3, 2016 IP