首页 技术 正文
技术 2022年11月15日
0 收藏 622 点赞 4,040 浏览 1591 个字
htmlString += "<td><button type=\"button\" onclick=\"artdel('"+productionObj.id+"')\" class=\"btn btn-primary\">删除</button>" +
"&nbsp;&nbsp;" +
"<a href='#'><button type=\"button\" class=\"btn btn-warning\" onclick=\"loadMsg('"+productionObj.id+"')\">修改</button></a>" +
"&nbsp;&nbsp;" +
"<a href='#'><button type=\"button\" class=\"btn btn-warning\" onclick=\"sendMsg('"+productionObj.id+"','"+productionObj.get('title')+"','"+productionObj.get('contnt')+"')\">推送</button></a>" htmlString += "</tr>";
onclick=\"sendMsg('"+productionObj.id+"','"+productionObj.get('title')+"','"+productionObj.get('contnt')+"')\"
//保存取值
function saveData() {
//$("#divShow").show();
var obj = {};
obj.openId = myOpenId;
obj.nickname = myNickname;// 微信昵称
obj.headimgurl = myHeadimgurl;// 用户头像
// obj.activityimg = "xx";//活动图片
if (ImgPath == "" || ImgPath == null) {
WX.alertMsg("照片不能为空~");
return;
}
obj.activityimg = ImgPath;
if ($("#content").val() == "" || $("#content").val() == null) {
WX.alertMsg("祝福语不能为空~");
return;
}
obj.content = $("#content").val();
}//加载赋值
$.ajax({
url : './XXXXXX/' + data.openId,
type : 'get',
success : function(data) {
$("#area").val(data.area);
$("#address").val(data.address);
$("#telphone").val(data.telphone);
},
error : function() {
WX.alertMsg("请稍候再试~");
}
});
onclick="goShowNotice(\'"+obj.id+"\')"/**
* 跳转文本
*/
function goShowNotice(id) {
window.location.href = "/showNotice.html?id=" + id;
}
html += "<a href=\"javascript:void(0)\"  onclick=\"getAttrName('" + obj.id + "','" + obj.attributeName + "','" + strlist[k] + "');\">" + strlist[k] + "</a>";
_html += "<td><button id=\"btn_"+obj.id+"\" class=\"btn btn-primary\" title=\"确认收款\" onclick='Policy.getCharge("+obj.id+")'><i class=\"fa  fa-money\"></i></button>&nbsp;";
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,088
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,565
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,413
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,186
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,822
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,905