Jquery网页出现的乱码问题的三种解决方法_jquery

WBOY
Release: 2016-05-16 17:30:51
Original
1618 people have browsed it

1、当导入Jquery代码时:网页中其它文字正常,而Jquery代码显示异常。
解决方案: 将Jquery代码用文本(.txt)或word打开,再另存为并改变其编码方式(通常改为utf-8或gb2312)。

2、当要改ASP.NET中整个网站的编码问题时。
在web.config文件中修改标签中的编码

3、当html网页编码出现乱码。
就修改

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!