<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
#BgDivOutDivId{background-color:#e3e3e3; position:absolute; z-index:99; left:0; top:0; display:none; width:100%; height:1000px;opacity:0.5;filter: alpha(opacity=50);-moz-opacity: 0.5;}
#xuJiaViewId{position:absolute;width:500px; left:50%; top:50%; margin-left:-200px; height:auto; z-index:100;background-color:#fff; border:1px #8FA4F5 solid; padding:1px;}
#xuJiaViewId .form{padding:10px;}
</style>
<title> New Document </title>
<script type="text/javascript" src="c:/jquery.js"></script>
<script type="text/javascript">
function ShowDIV(thisStred) {
var str=thisStred.name; //这是一字符串
var streds= new Array(); //定义一数组
streds=str.split(","); //字符分割
// --- 上面是字符串截取
$("#BgDivOutDivId").css({ display: "block", height: $(document).height() });
var yscroll = document.documentElement.scrollTop;
$("#xuJiaViewId").css("top", "100px");
$("#xuJiaViewId").css("display", "block");
// 显示就赋值
$("#shengFenZhengID").val(streds[0]);
$("#KeXingMingId").val(streds[1]);
$("#KeHuJingLiId").val(streds[2]);
document.documentElement.scrollTop = 0;
}
function closeDiv() {
// 隐藏就清空
$("#shengFenZhengID").val("");
$("#KeXingMingId").val("");
$("#KeHuJingLiId").val("");
$("#inBlankReason").html("");
$("#BgDivOutDivId").css("display", "none");
$("#xuJiaViewId").css("display", "none");
}
</script>
</head>
<body>
<input type="button" type="button" class="btn" name="中国,美国,日本" id="jiaRuHeiMingDanId" οnclick="ShowDIV(this);" value="加入黑名单"/>
<form name="addForm" id="saveFormId" method="post" action="${ctx}/crm-server/crmBlankCtrl/addSubmit.do">
<!-- 隐藏拿到的id号 -->
<div id="BgDivOutDivId"></div>
<div id="xuJiaViewId" style="display: none">
<label style="color: blue">身份证号:</label><input style="color: red" type="text" id="shengFenZhengID" name="idNumber" readonly="readonly" /><br/>
<label style="color: blue">客户姓名:</label><input style="color: red" type="text" id="KeXingMingId" name="cusName" readonly="readonly" /><br/>
<label style="color: blue">客户经理:</label><input style="color: red" type="text" id="KeHuJingLiId" name="cusManagerName" readonly="readonly" /><br/>
<label style="color: blue">列入黑名单原因:</label>
<textarea rows="8" cols="62" name="inBlankReason" id="inBlankReason" maxlength="1900" style="overflow:hidden" dataType="Require" msg="列入原因必填"></textarea>
<input id="saveButtonId" type="button" class="btn" οnclick="saveForm();" value="保存"/>
<input id="" type="button" class="btn" οnclick="closeDiv();" value="取消"/>
</div>
</form>
</body>
</html>
jQuery 弹出 div层
原创mb64a401e9f23d4 博主文章分类:javaScript ©著作权
©著作权归作者所有:来自51CTO博客作者mb64a401e9f23d4的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
jquery 弹出遮罩层
jquery 弹出遮罩层 点击层关闭
职场 休闲 jquery 遮罩层 -
input 弹出层 jquery jquery弹出框
使用jquery实现点击按钮弹出对话框html:<input type="button" id="btn02" value="修改密码" > <div id="div"> <p class="exit">x</p><br> <div>
input 弹出层 jquery jquery html 对话框 css -
es score是怎么计算的
写在前面es在进行数据查询时,数据的返回顺序是由评分决定的,而默认的评分是采用的相关度评分,但在某些业务场景中如果是仅仅考虑相关度评分的话,无法满足需求,所以es提供了function score query来通过其他的方式来改变最终的评分,如下:本文一起来看下这部分相关的内容。1:例子考虑这样的场景,某良心企业发起一项征文活动,文章主题你对996的看法,并且文章发布到网上可以供广大的热心网友投票
es score是怎么计算的 elasticsearch function score boost mode max boost