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

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

document.write foing strange things

  • Không có trả lời
  • 0 gặp vấn đề này
  • 54 lượt xem
  • 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

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.