JavaScript DHTML/Javascript Collections/filters
"filters" Example
<html>
<head>
<script language="JavaScript">
function applyFilter(){
myDiv.style.filter = "progid:DXImageTransform.Microsoft.shadow()
progid:DXImageTransform.Microsoft.motionblur();"
myDiv.filters.item("DXImageTransform.Microsoft.shadow").direction=4
alert(document.all.myDiv.filters.length);
}
</script>
</head>
<body>
<img id="myDiv" src="http://www.wbex.ru/style/logo.png">
<br>
<br>
<br>
<br>
<button onclick="applyFilter();">Apply Filter</button>
</body>
</html>