Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Şu anda bakım nedeniyle sitemiz kısıtlı işlevsellik sunmaktadır. Mevcut makaleler sorununuzu çözmediyse ve bize soru sormak isterseniz Twitter’da @FirefoxSupport hesabından ve Reddit’teki /r/firefox subreddit'inden destek gönüllülerimize ulaşabilirsiniz.

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

"TypeError: can't access dead object" ?!

  • 2 yanıt
  • 1 kişi bu sorunu yaşıyor
  • 11 gösterim
  • Son yanıtı yazan: cor-el

more options

Hi all , i was trying to make a simple javascript code to make an new element by clicking a link and onclick it will call a function make the new element like that :

<html>
<head>

<title>Welcome to javaScript DOM...!</title>
</head>
<body id="body">
<a href="#" id="create" onclick="Create_Element()">Click To Create Element ...! </a>

<script>
function Create_Element(){
var body = document.getElementById("body");
var new_element = document.createElement("b");
new_element.innerHTML="Welcome To The New Element ... :)";
body.appendChild(new_element);
}
</script>
</body>
</html>

but it didn't work so i hit ctrl+alt+j to see the error and it get this : "

PluralForm.jsm: Index #2 of '#1 repeat;#1 repeats' for value 3 is invalid -- plural rule #12; called by WCF_mergeFilteredMessageNode
TypeError: can't access dead object dvsyoutubedownloader.js:1190
PluralForm.jsm: Index #2 of '#1 repeat;#1 repeats' for value 3 is invalid -- plural rule #12; called by WCF_mergeFilteredMessageNode
TypeError: can't access dead object dvsyoutubedownloader.js:1190
PluralForm.jsm: Index #2 of '#1 repeat;#1 repeats' for value 3 is invalid -- plural rule #12; called by WCF_mergeFilteredMessageNode
TypeError: can't access dead object

" and i test the code in another browsers it worked successfully , i wanna now the error ?!

Hi all , i was trying to make a simple javascript code to make an new element by clicking a link and onclick it will call a function make the new element like that : <pre><nowiki><html> <head> <title>Welcome to javaScript DOM...!</title> </head> <body id="body"> <a href="#" id="create" onclick="Create_Element()">Click To Create Element ...! </a> <script> function Create_Element(){ var body = document.getElementById("body"); var new_element = document.createElement("b"); new_element.innerHTML="Welcome To The New Element ... :)"; body.appendChild(new_element); } </script> </body> </html></nowiki></pre> but it didn't work so i hit ctrl+alt+j to see the error and it get this : " <pre><nowiki>PluralForm.jsm: Index #2 of '#1 repeat;#1 repeats' for value 3 is invalid -- plural rule #12; called by WCF_mergeFilteredMessageNode TypeError: can't access dead object dvsyoutubedownloader.js:1190 PluralForm.jsm: Index #2 of '#1 repeat;#1 repeats' for value 3 is invalid -- plural rule #12; called by WCF_mergeFilteredMessageNode TypeError: can't access dead object dvsyoutubedownloader.js:1190 PluralForm.jsm: Index #2 of '#1 repeat;#1 repeats' for value 3 is invalid -- plural rule #12; called by WCF_mergeFilteredMessageNode TypeError: can't access dead object</nowiki></pre> " and i test the code in another browsers it worked successfully , i wanna now the error ?!

cor-el tarafından tarihinde düzenlendi

Tüm Yanıtlar (2)

more options

hi, unfortunately we cannot assist you with questions related to web development in this forum (please refer to our Mozilla Support rules and guidelines) - you could use other resources like http://forums.mozillazine.org/viewforum.php?f=25 or the forums at stackoverflow.com for that purpose.

thank you for your understanding!

more options

That code works fine for me.

data:text/html;charset=utf-8;base64,PGh0bWw+CjxoZWFkPgoKPHRpdGxlPldlbGNvbWUgdG8gamF2YVNjcmlwdCBET00uLi4hPC90aXRsZT4KPC9oZWFkPgo8Ym9keSBpZD0iYm9keSI+CjxhIGhyZWY9IiMiIGlkPSJjcmVhdGUiIG9uY2xpY2s9IkNyZWF0ZV9FbGVtZW50KCkiPkNsaWNrIFRvIENyZWF0ZSBFbGVtZW50IC4uLiEgPC9hPgoKPHNjcmlwdD4KZnVuY3Rpb24gQ3JlYXRlX0VsZW1lbnQoKXsKdmFyIGJvZHkgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiYm9keSIpOwp2YXIgbmV3X2VsZW1lbnQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJiIik7Cm5ld19lbGVtZW50LmlubmVySFRNTD0iV2VsY29tZSBUbyBUaGUgTmV3IEVsZW1lbnQgLi4uIDopIjsKYm9keS5hcHBlbmRDaGlsZChuZXdfZWxlbWVudCk7Cn0KPC9zY3JpcHQ+CjwvYm9keT4KPC9odG1sPg==


Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window

cor-el tarafından tarihinde düzenlendi