![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ajax
cultivator129480
这个作者很懒,什么都没留下…
展开
-
.js文件中写ajax请求
$.ajax({ url:'${contextPath}/shopManage/getShopInfo', type:'post', dataType:'json', success:function(data){}});通常ajax请求都是这样写的,但是一旦写大.js文件中,原创 2016-04-01 15:27:17 · 11635 阅读 · 0 评论 -
不刷新页面实现图片上传,并在指定位置显示
1.首先,引入"jquery-form.js"文件src="jquery-form.js"> 2.把添加图片的按钮放在form表单中 enctype="multipart/form-data" method="post" data-ajax="false">转载 2016-04-02 16:37:37 · 729 阅读 · 0 评论