Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6235361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:39:23+00:00 2026-05-24T10:39:23+00:00

An ActiveX IE plugin vendor is claiming, and it certainly seems to be the

  • 0

An ActiveX IE plugin vendor is claiming, and it certainly seems to be the case in my tests, that an ActiveX’s <object /> tag is being transformed funny by jQuery rather than if it were not dynamically inserted.

plugin = $('<object ... >... </object>').get(0);
$('#pluginPlaceholder').append(plugin);

The result of dynamically adding the control is that the plugin DOES load, and some of the functionality works, but other parts do not work (no crash, just no response). (Though I believe that the specifics of the no-reaction vs crash vs something else is just how they implemented whatever is handling the error that it is encountering internally.)

To work around it, I must not use jQuery in the creation of the item, not even $('#pluginPlaceholder').html('<object id='obj' ... >... </object>'); plugin = document.getElementById('obj');

But if jQuery doesn’t touch it, it works correctly:

document.getElementById('pluginPlaceholder').innerHTML = '<object id='obj' ... >... </object>';
plugin = document.getElementById('obj');  // $('#obj').get(0); seems to be valid too

What might jQuery do to the tag to affect it in any way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:39:25+00:00Added an answer on May 24, 2026 at 10:39 am

    This sounds very similar to a problem we run into with FireBreath plugins in IE. What happens is that when jquery constructs the object tag it builds the tag in memory before putting it into the pluginPlaceholder element. The problem with this is that it actually instantiates the activex control there before putting it into the DOM.

    When IE is told to put the activex control inside the DOM element, it calls InPlaceDeactivate on the ActiveX control before moving it, then places it inside the new element, and then calls InPlaceActivate. Many ActiveX controls aren’t expecting this and there are sometimes certain things lost (such as event handlers from the page) when that happens.

    The solution to the problem is to not set the CLSID or TYPE of the object tag until after you have appended it to the new location.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ActiveX dll that loads a child dll (NPAPI plugin). My child
I'm writing some JavaScript that interacts with a browser plugin (add-on in Firefox, ActiveX
At the moment I have a custom ActiveX plugin that drops down the usual
At our enterprise we have an ActiveX plugin in IE that is currently disabled
I'm writing a C# (ActiveX) plugin for an application that uses SetCompatibleTextRenderingDefault(true) (forces .net
I have an ActiveX plugin that we need (if possible) to run in Firefox.
I created a plugin for Internet Explorer (ActiveX object) and installed it successfully, but
I have an activex plugin here: http://reboltutorial.com/plugins/logo-badge/ I tried by adapting the script http://forums.devarticles.com/javascript-development-22/detecting-activex-objects-installed-in-ie-11041.html
I've been writing an ActiveX plugin for IE using .NET. While I've happily got
I need to use activeX to create a plugin for a legacy application. I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.