2012-02-18から1日間の記事一覧
【問題】 htmlで作ったDOMドキュメントに、 winktoolkitのjsを乗せようとしたが、 Uncaught TypeError: Cannot call method 'appendChild' of null と叱られる。 もちろん、jsの挙動はしない。 【原因】 <script> $(function(){ (中略) $('ouutput').appendChild(a</script>…
【問題】 htmlで作ったDOMドキュメントに、 winktoolkitのjsを乗せようとしたが、 Uncaught TypeError: Cannot call method 'appendChild' of null と叱られる。 もちろん、jsの挙動はしない。 【原因】 <script> $(function(){ (中略) $('ouutput').appendChild(a</script>…