function everyday() { var oSpan = document.getElementsByTagName('span'); for (var i=0; i alert('第'+i+'个脊庆大野桐的内容是:"'+oSpan[i].innerHTML+'"'滚坦); }}