6
Javascript "Yakalanmamış TypeError: nesne bir işlev değil" ilişkilendirilebilirlik sorusu
Kod aşağıdaki gibidir: <body> <a href="javascript:;" id="test">hello</a> </body> <script type="text/javascript"> document.getElementById("test").addEventListener("click", function () { test() }, false) function test() { var postTypes = new Array('hello', 'there') (function() { alert('hello there') })() } </script> Bu bir: "Yakalanmamış TypeError: nesne bir işlev değil" Anonim işlev çağrısını / çağrıyı başka bir parantez kümesine …
95
javascript