Web-项目_云笔记-遇到的问题

目录

 

1.js没有反应

2.ajax乱码问题

3.在js中判断字符串是否为空的语法是什么?

4.


1.js没有反应

<script></script>需要尾标签

2.ajax乱码问题

在js中添加这样一个表头

<!-- 输送content-Type表头表头让浏览器以utf-8方式解码 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

(乱码问题实在解决不了,就不要用ie了)

3.在js中判断字符串是否为空的语法是什么?

if(name == ""){
			///////////////////
		}

4.

猜你喜欢

转载自blog.csdn.net/qq_41782582/article/details/81590156
今日推荐