jsp页面中点击按钮弹出窗口,选择其中的单选框后,值回传到jsp页面对应文本框中
1个回答
2013-08-16
展开全部
<style type="text/css">
<!--弹出层样式 g.chengh-->
.black_overlay {
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: #FFFFFF;
z-index: 1001;
-moz-opacity: 0.8;
opacity: .80;
filter: alpha(opacity = 80);
}
.white_content {
display: none;
position: absolute;
top: 25%;
left: 25%;
width: 20%;
height: 5%;
padding: 16px;
border: 10px solid #99CCFF;
margin: -32px;
background-color: white;
z-index: 1002;
overflow: auto;
}
</style>
<script language="javascript">
function dakai() {
document.getElementById('light').style.display = 'block';
document.getElementById('fade').style.display = 'block';
}
function guanbi() {
document.getElementById('light').style.display = 'none';
document.getElementById('fade').style.display = 'none';
}
</script>
<div id="light" class="white_content">
<!-- 选择栏目分类跳转指定添加页面-->
栏目分类:
<hwtt:dict id="columnClass"
sql="select * from lib_columnclass" dictCode=""
sqlLableKey="NAME" sqlValueKey="CODE" headerLabel="--全部--"
value="${columInfo.columnClass }"></hwtt:dict>
<span style="float:right">
<a href="javascript:void(0)" onclick="add()" dir="rtl">下一步</a>
<a href="javascript:void(0)" onclick="guanbi()" dir="rtl">关闭</a> </span>
</div>
<!--弹出层样式 g.chengh-->
.black_overlay {
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: #FFFFFF;
z-index: 1001;
-moz-opacity: 0.8;
opacity: .80;
filter: alpha(opacity = 80);
}
.white_content {
display: none;
position: absolute;
top: 25%;
left: 25%;
width: 20%;
height: 5%;
padding: 16px;
border: 10px solid #99CCFF;
margin: -32px;
background-color: white;
z-index: 1002;
overflow: auto;
}
</style>
<script language="javascript">
function dakai() {
document.getElementById('light').style.display = 'block';
document.getElementById('fade').style.display = 'block';
}
function guanbi() {
document.getElementById('light').style.display = 'none';
document.getElementById('fade').style.display = 'none';
}
</script>
<div id="light" class="white_content">
<!-- 选择栏目分类跳转指定添加页面-->
栏目分类:
<hwtt:dict id="columnClass"
sql="select * from lib_columnclass" dictCode=""
sqlLableKey="NAME" sqlValueKey="CODE" headerLabel="--全部--"
value="${columInfo.columnClass }"></hwtt:dict>
<span style="float:right">
<a href="javascript:void(0)" onclick="add()" dir="rtl">下一步</a>
<a href="javascript:void(0)" onclick="guanbi()" dir="rtl">关闭</a> </span>
</div>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询