Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Running javascript after embedded object loads...

Running javascript after embedded object loads...

Scheduled Pinned Locked Moved Web Development
javascriptcomhardwaretoolstutorial
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mundo Cani
    wrote on last edited by
    #1

    Hello, Does anyone know how to call a javascript function when an embedded ActiveX object is installed? I have a javascript function that requires that the embedded object is installed. As soon as the object is installed, I want to run the script. Any ideas? Thanks! ib

    M 1 Reply Last reply
    0
    • M Mundo Cani

      Hello, Does anyone know how to call a javascript function when an embedded ActiveX object is installed? I have a javascript function that requires that the embedded object is installed. As soon as the object is installed, I want to run the script. Any ideas? Thanks! ib

      M Offline
      M Offline
      Mundo Cani
      wrote on last edited by
      #2

      OK, I have a solution. I'm using intervals to continually call the javascript function. In the function, I check to see whether or not the object is loaded. If it is, I execute the rest of the function and clear the interval. If there is a better solution or this isn't a best practice, let me know! Thanks! Ian

      Ian

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups