Jump to content

-ms-filter in javascript


Lucy

Recommended Posts

Does anyone know how you're supposed to write '-ms-filter' in Javascript in order to use it (like element.style.-ms-filter)? I've tried 'msFilter', and variations thereof. I've also tried writing it as a string, but that causes errors. Any ideas?

Link to comment
Share on other sites

From what I've read, it was 'filter' in IE7 and changed to '-ms-filter' in IE8.

 

Though, that said, my version of IE8 (on two computers, in fact) seems to work fine with just 'filter' :/ I wonder if there's any point in trying to put '-ms-filter' in...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...