自己写了下
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"样式的图片中的信息发给服务器,求帮助,谢谢,
要如何接收