Maybe you should take a look at the Swiff component? Or the iFrame component?

What are you trying to do? Looks like a flash player. What do you need the object tag for?


Daniel

On 2009-10-21, at 21/October, 3:10 PM, Steve Onnis wrote:

I am trying to set the width and height of an <object> tag that is being returned through a JSON request.

this is what i am doing..

$("video").set("html", response.html);
$("video").getElement("object").setProperty("height", "385");
$("video").getElement("object").setProperty("width", "605");


Works fine in FireFox but am getting an "Object does not support this method or property" error in IE

Any suggestions?

Steve


Reply via email to