[POO] getElementById javascript FireFox 2.0
Bonjour,
j'ai un probléme de javascript avec FireFox 2.0 voici l'erreur :
Code:
1 2
|
uncaught exception: [Exception... "Unexpected error arg 1 [nsIDOMHTMLDocument.getElementById]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: index.php?ps=test&pass=2c5be7622b2cd2f3b797b3dcf797cb2d&Invitation=test2&msgInvitation= :: membre_off :: line 27" data: no] |
ici il y a un appel a une fonction javascript qui renvoi une valeur vers un flash
Code:
1 2 3 4 5
|
function membre_off(ps){
var domAnimation = document.getElementById('id');
domAnimation.SetVariable('deconn',ps);
} |
mon probléme c'est que cette erreur ne surviens qu'avec FF2, marche sans problème avec IE6,7 et FF1.5