function updateval(id){
var url = ‘${ctx}/zbapp/ranking/zbappRankingList/form?id=${zbappRankingList.id}’;
var html = “<div style=’padding:10px;’>输入修改后的聊豆:<input type=’text’ id=’withdrawals’ name=’withdrawals’ /></div>”;
var submit = function (v, h, f) {
if (f.withdrawals == ”) {
$.jBox.tip(“聊豆不能为空。”, ‘error’, { focusId: “withdrawals” }); // 关闭设置 yourname 为焦点
return false;
}
$.jBox.tip(“你输入的聊豆值为:” + f.withdrawals);
// $.jBox.tip(“你叫:” + h.find(“#withdrawals”).val());
// $.jBox.tip(“你叫:” + h.find(“:input[name=’withdrawals’]”).val());
return true;
};
$.jBox(html, { title: “修改提现聊豆”, submit: submit });
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/11463.html