0

I am using an tag to load a NPAPI plugin in my HTML page. At certain point in time, I am trying to hide the and in order to do so, I am changing the width and height of the object to 0px using JavaScript. But this is not affecting the tag.

Here is the syntax:

"object width='100px' height='100px' id="pluginmedia" type="application/x-wcfmedia">"

Can some one please let me know how to hide the ?

Thanks and Regards, Souvik


It is possible ton automatize application authorization using username and password. You need to "simulate" user acceptation (on the auth web page) and parse the PIN code on the resulting page.

You need username and password (or manual acceptation) one time only if you retrieve and save user tokens (key and secret).

Some OAuth libs already provide such features

4

1 回答 1

0

您可以改用 jQuery hide()

$('#id').hide();

在你的情况下$('#pluginmedia').hide();

于 2012-09-25T10:38:05.757 回答