Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4005172
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:21:43+00:00 2026-05-20T08:21:43+00:00

For Internet Explorer opacity is set in inline css like this: style=filter: alpha(opacity=50); What

  • 0

For Internet Explorer opacity is set in inline css like this:

style="filter: alpha(opacity=50);"

What I’d like to do is get the opacity value as in integer in javascript. Ok I guess I can get the whole string and parse out the int, but is there a faster/better way?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:21:44+00:00Added an answer on May 20, 2026 at 8:21 am

    The JavaScript is pretty simple:

    var opacity = this.filters.alpha.opacity;
    

    or if you have an id…

    var opacity = getElementById('myelement').filters.alpha.opacity;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

CSS Code: #btn{ background: url(transparent.png) no-repeat; filter: alpha(opacity=0); -moz-opacity: 0; -khtml-opacity: 0; opacity: 0;
Internet Explorer’s filter CSS property ( -ms-filter from IE 8) allows you to do
I'm using Internet Explorer 8 beta 2. Client performs POST on http://alpha/foo Server responds
When debugging in Internet Explorer, I first get an alert box with extremely limited
I cannot get the internet explorer web developer tool bar to work with a
I just tried the IE9 Second Internet Explorer Platform Preview - which supports CSS
I have encountered an annoying bug with internet explorer on a javascript animation I
This page is not showing correctly in internet explorer while it's fine in other
Does anyone know if/when Internet Explorer will support the border-radius CSS attribute?
Internet Explorer RC 9 was released earlier today, but I can't get it to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.