js中出现的问题,没有报错,在浏览器中不显示

这是源代码

**window.onload = function(){
** var faceimg1 = document.getElementByld('faceimg');
** alert(faceimg1);

这是在浏览器中的错误提示

** TypeError: document.getElementByld is not a function

求帮忙 到底该怎么改

请参考:http://blog.csdn.net/pyffcwj/article/details/7240232

你确定大小写,单词没拼错?

js有时候是挺纠结的

你把ID的I拼成了l(L)