Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

document.write foing strange things

  • 답글 없음
  • 0 이 문제를 만남
  • 54 보기
  • Open

javascript contains the following code:

var txt = "<tr><td" if (SecIndent[i] > 0) txt+= " class='In" + SecIndent[i] + "'" txt+=' onclick("' +'go2('+ "'_" +i +"')"+ '")>' +SecNames[i] +'</td></tr>' alert(txt) // txt += ' onclick("go('+"_'><a href="#_'+i+'">'+SecNames[i]+'</a></td></tr>' document.write(txt); }

seems to be working right -alert displays: <tr><td onclick("go2('_3')")>Chapter 1 – The Number Tiles</td></tr>

when I inspect element it shows <td onclick("go2('_3')")="">Chapter 1 – The Number Tiles</td>

where did the extra =" come from? when I tried other browsers still problems but inspect element was different hopefully this isn't a Windows 10 problem, but very wierd if it is

javascript contains the following code: var txt = "<tr><td" if (SecIndent[i] > 0) txt+= " class='In" + SecIndent[i] + "'" txt+=' onclick("' +'go2('+ "'_" +i +"')"+ '")>' +SecNames[i] +'</td></tr>' alert(txt) // txt += ' onclick("go('+"_'><a href="#_'+i+'">'+SecNames[i]+'</a></td></tr>' document.write(txt); } seems to be working right -alert displays: <tr><td onclick("go2('_3')")>Chapter 1 &#8211; The Number Tiles</td></tr> when I inspect element it shows <td onclick("go2('_3')")="">Chapter 1 – The Number Tiles</td> where did the extra =" come from? when I tried other browsers still problems but inspect element was different hopefully this isn't a Windows 10 problem, but very wierd if it is

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.