I need to set an HTML object\'s opacity in JavaScript in all the browsers.
In Firefox I do it with line:
imageobje
In chrome you just set imgobject.style.opacity=0.5; in IE imgobject.style.filter='alpha(opacity=50)'.
imgobject.style.opacity=0.5;
imgobject.style.filter='alpha(opacity=50)'