Ajax局部异步刷新
一、Ajax
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
$.ajax({
type:"POST",
url:"demo1" //发送位置
data:{
'name':'lao',
'age':23
}
});
</script>
二、Json
1.对象转json
这里写代码片