Js的join函数:
join() 方法用于把数组中的所有元素放入一个字符串。
元素是通过指定的分隔符进行分隔的。

解决方案 »

  1.   

    this.dayName是个数组,通过join以  </th><th onselectstart="return(false)"><font style="font-size:9pt">分隔出来 
    不过看起来应该是以</font></th><th onselectstart="return(false)"><font style="font-size:9pt">,不然的话,<font>是没有闭合标签的
      

  2.   

    this.dayName.join('...')
    this 就不用解释了吧?
    dayName 从名字上看是星期的名称,显然是个数组
    join 是数组的方法,用于将数组用指定的串连接起来a = [1,2,3,4];
    s = a.join('-');
    document.write(s);
    1-2-3-4