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

  • SEARCH
  • Home
  • 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 7825829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:10:11+00:00 2026-06-02T09:10:11+00:00

Hello stackoverflow community, I have some code that works on virtually every browser except

  • 0

Hello stackoverflow community,

I have some code that works on virtually every browser except for …. (Wait for it)…. IE9 (and possibly other versions of IE?).

So, I’ve added an applet to the page, everything goes well, but I want to check to see if the applet is loaded, so to do that, I’ve been polling to see if the functions in the applet exist.

For example, let’s say I have this method in my java applet:

public int dummy( int a ) {
  return a + 1;
}

So in my javascript, I poll to see if the function exists like this (using jquery, where #applet is the id of the applet tag):

var japp = $("#applet").get(0);
if( japp && japp.dummy ) {
  alert( japp.dummy(1) );
}

You’d notice that this works at least in Chrome and Firefox, but not IE9.

In IE9, regardless of the method being accessible, japp.dummy always returns undefined

Does anyone know a good IE9 workaround?

Thanks,
-Oz

  • 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-02T09:10:12+00:00Added an answer on June 2, 2026 at 9:10 am

    I want to check to see if the applet is loaded, so to do that, I’ve been polling to see if the functions in the applet exist.

    Don’t do that. Instead, have the applet call a JS function at the end of init(). The end of init() is when the applet is ready.

    IE9 fails here where other browsers don’t.

    Substitute IE9 with ‘any browser’ and you have the niggling problems with applet/JRE/JS/browser interaction pegged. That’s the nature of applets, unfortunately. 🙁

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

Sidebar

Related Questions

Hello StackOverflow community, I have run into a problem that quite frankly is baffling
https://stackoverflow.com/a/64983/468251 - Hello, I have question about this code, how made that working with
Hello StackOverflow'ers, I have a (flex) app that, on the click of a button,
Suppose I have this code: String encoding = UTF-16; String text = [Hello StackOverflow];
Hello StackOverflow, I have an ASP.NET/C# webpage that calls functions from a managed .dll
Hello All at StackOverflow, over the last few days I have had some problems
Hello stackoverflow contributors! I have this script that gets the starting position of my
Hello stackoverflow community, I am writing a batch file to do some automatic computer
I have an arraylist that contains urls in the form similar to : stackoverflow.com/questions/ask/hello
Hello StackOverflow community, I have 2 tables products ======= id name prices ====== id

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.