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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:34:04+00:00 2026-05-28T14:34:04+00:00

I have a page with a JS Function called test (e.g.), and, in one

  • 0

I have a page with a JS Function called test (e.g.), and, in one page of my app I have to open a Java Applet.

In google chrome, it opens as an embed element, and in firefox in an object.

Sometimes, in my applet, I have to call my JS function to do something in the page. I doing this with:

applet.getAppletContext().showDocument(new URL("javascript:window.test();"));

In browser that use the object, this code work like a boss, but, if it use embed, it do nothing, trowing a exeption in Browser console, saying that the Window does not have a “test” function.

I think thi is some trouble with embed context and document context, but I dont know how to fix it, or, if it is “fixable”.

So, I like to know if is there any workaround to make it work.

thanks in advance.

  • 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-28T14:34:04+00:00Added an answer on May 28, 2026 at 2:34 pm

    I found the problem.

    A minor update of chrome solve it. I dont know if the problem was in Webkit or in chrome itself, but, now it works.

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

Sidebar

Related Questions

I have defined a function in which i want to open a page on
Say I have this repeater which makes use of a public function called Test
I have an html page called test.html, here is it's content: <!DOCTYPE html PUBLIC
I have this script loaded on a page: (function() { window.alert('bookmarklet started'); function AjaxSuccess(data,
I have a jQuery UI Dialog working great on my ASP.NET page: jQuery(function() {
I have a HTML page, with html-mode enabled. I call function sgml-validate to check
In a simple html page I have: <SCRIPT> function Clicker(number){ if (number == 1)
Okay, I have this code: <script language=javascript type=text/javascript> <!-- function requestPage(page) { var request
I have a function that identify coordinates on a page, and I am returning
I have a function that I use on index.php page and I would like

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.