About code page

zhaozj2021-02-16  63

Today, I do a web application. The front desk is used by JavaScript, and it is made alone into a file, and the problem is called in the ASPX. There is no problem in the template to do, just in the new web page, JavaScript can't be called, What is the reason for finding, just thinking is a question of a script, after multiple debugs, discovery related to CodePage in <% Page%>, so I know the reason.

Do you want to know why? Just put the JavaScript file to the Unicode code, I use the ANSI when I save, that is, the corresponding ASPX page remains the same code page.

转载请注明原文地址:https://www.9cbs.com/read-18098.html

New Post(0)