以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  关于将选中的图片用AJAX进行发送  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=117441)

--  作者:zhy400137
--  发布时间:2018/4/12 15:04:00
--  关于将选中的图片用AJAX进行发送
自己写了下
js:
$(function () {
$("li.weui_uploader_file").click(function(){
$(this).toggleClass("selected");
return false;
});
});
cs:
li.selected
{
border-style:solid;
border-width:1px;
border-color:green;
}
ajax:
$(function () {
$("#btn1").click(function() {
alert("100");
$.get("recive.htm",
{name:$(".selected").attr("data-image")},function (data,textStatus) {
alert(data);
}
)
})
});
后面的不会写了,特别不清楚用狐表的AJAX如何将加了"selected"样式的图片中的信息发给服务器,求帮助,谢谢,
要如何接收

--  作者:有点甜
--  发布时间:2018/4/12 15:09:00
--  

1、你图片是怎么得到到?从服务器下载下来还是在客户端选择打开的?

 

2、ajax参考foxtable的处理方式 http://www.foxtable.com/mobilehelp/scr/0108.htm

 

http://www.foxtable.com/mobilehelp/scr/0103.htm

 

http://www.foxtable.com/mobilehelp/scr/0101.htm