I have one problem with Firefox 12 (newer Firefox works well, and another browsers works well too).
In Firefox 12 MyApplet is undefined.
In another browsers everything works well.
In newer Firefox everything works well too.
but I need to fix this in firefox 12 too.
....
....
<html>
<head>
<script type="text/javascript">
function callbackFunction() {
....
MyApplet.getData();
// My applet is undefined in firefox 12.
....
}
</script>
</head>
<body >
<script src="https://www.java.com/js/deployJava.js"></script>
<script >
var javaVersion='1.6';
var startApplet = function(){
var attributes = {
id: 'MyApplet', scriptable: 'true',
code:'X.Y.Z.MyApplet.class',
archive:'<%=request.getContextPath()%>/applets/MyApplet.jar'
};
var parameters = {
challenge : "${serverChallenge}",
callbackFunction : 'callbackFunction()',
language: "${pageContext.response.locale.language}"
};
var version = '1.6';
deployJava.runApplet(attributes, parameters, version);
}
startApplet();
</script>
</body>
</html>
is it possible, to solve that problem using JS or something like that?
that's solution: updating Firefox;