object-element

IE6 can't find Object element with getElementById()?

I'm trying to get an object element from my webpage using getElementById (ultimately so I can replace it with a dynamically created object element) but it is returning null in IE6. In the following code, the byId() function returns null in IE but an [object HTMLObjectElement] in Firefox 3 and the lengthOfByTagName() function returns 0 i...

Convert <object /> declaration to javascript ActiveXObject

I have the following declaration in my code: <object id="myObject" name="myObject" data="data:application/x-oleobject;base64,ab9qcMENN0WE41oij7hs8764yu+YEwAA2BMABB==" classid="clsid:83A04F76-85DF-4f36-A94E-BA3465007CDA" viewastext codebase="someAssembly.dll#version=UNKNOWN"> </object> I want to create an instance of this...

Streaming PDF via invocation of HTTPHandler using $.get into object element

What I am trying to do is invoke an HTTPHandler via the $.get method of jQuery which will stream back a PDF and display it in a web page using an object element. My previous method of setting the src attribute of an IFrame to be the result of a handler invocation works, but I would like cross-browser completion notification, so have move...