**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)