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 7811901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:20:00+00:00 2026-06-02T04:20:00+00:00

getting below error on IE8 canvas.getContext(2d) Unexpected call to method or property access.Error i

  • 0

getting below error on IE8

canvas.getContext("2d") Unexpected call to method or property access.Error

i have also add

 if (typeof G_vmlCanvasManager != 'undefined') {
                G_vmlCanvasManager.initElement(canvas);
            }

how to run canvas in IE8 with ecanvas.js.
also i have check but no luck for me on it.

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-06-02T04:20:02+00:00Added an answer on June 2, 2026 at 4:20 am

    Firstly, you’re sure you’ve included the file in your markup (as per the documentation):

    <head>
    <!--[if IE]><script src="PATH_TO_JS_FILE"></script><![endif]-->
    </head>
    

    Are you definitely instantiating your “canvas” properly? If you’re doing it dynamically then:

    var canvas = document.createElement('canvas');
    G_vmlCanvasManager.initElement(canvas);
    var context = canvas.getContext('2d');
    

    Or if you’ve added your canvas to the page’s markup are you grabbing a reference to it:

    var canvas = document.getElementsByTagName("canvas")[0];
    

    Your browser doesn’t know what to do with your canvas object, so it looks like it’s not instantiated properly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting the error below when I call my WCF service. What am
I am getting below error in IE8 Do you want to view the webpage
I have added the library ksoap2-android-assembly-2.4-jar-with-dependencies.jar but i am getting below error : Exception
Am getting the below error when executing python protocols/smpp/test/test_post_upgrade.py: Traceback (most recent call last):
I'm getting below error...I'm not sure what this means as I have included helper
I am getting the below error when i call NServiceBus.Host.exe. The issue appears to
I have written the below SP and getting below error. Could any one please
I am getting the below error when executing my application on a Windows XP
i'm getting the below error, When compiling the Asp.Net web deploy project Could not
When running IIS, I'm getting the below error on all ASPX pages. ASP.NET is

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.