修改代码,修改边框颜色
<p><br/></p><sectionid="3_198"class="yead_editor"onmousedown="shifuMouseDown('3_198')...
<p>
<br/>
</p>
<section id="3_198" class="yead_editor" onmousedown="shifuMouseDown('3_198')" label="Copyright © 2015 Yead All Rights Reserved." style="font-size:14px;font-family:'Microsoft YaHei';margin: 5px auto;white-space: normal;">
<section data-style="font-size:14px;text-align:center" style="line-height:25px;color:inherit;background-image:url(http://imgqn.koudaitong.com/upload_files/2015/06/26/007544d039e6382206323c2b0b38a6e0.jpg);background-size:contain;background-position:50% 50%;background-repeat:no-repeat">
<p style="text-align:center">
<img src="http://imgqn.koudaitong.com/upload_files/2015/06/26/FlnICQoAlMAwXBdFibobpj5Lnjg7.gif" style="opacity:.55"/>
</p>
</section>
</section> 展开
<br/>
</p>
<section id="3_198" class="yead_editor" onmousedown="shifuMouseDown('3_198')" label="Copyright © 2015 Yead All Rights Reserved." style="font-size:14px;font-family:'Microsoft YaHei';margin: 5px auto;white-space: normal;">
<section data-style="font-size:14px;text-align:center" style="line-height:25px;color:inherit;background-image:url(http://imgqn.koudaitong.com/upload_files/2015/06/26/007544d039e6382206323c2b0b38a6e0.jpg);background-size:contain;background-position:50% 50%;background-repeat:no-repeat">
<p style="text-align:center">
<img src="http://imgqn.koudaitong.com/upload_files/2015/06/26/FlnICQoAlMAwXBdFibobpj5Lnjg7.gif" style="opacity:.55"/>
</p>
</section>
</section> 展开
1个回答
展开全部
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>JS修改背景</title>
<script type="text/javascript">
function JS() {
document.addmemeber("form1").memberName("int1").style.background = '#eeeeee';
}
function hid(){
var value = document.getElementByIdx_x("h").value ;
alert(value) ;
}
</script>
</head>
<body>
<form action="" name="form1">
<input type="text" name="int1" value="" onclick="JS();"/><br/>
<input type="hidden" id="h" name="h" value="隐藏"/>
<input type="button" value="按钮" onclick="hid();"/>
</form>
</body>
</html>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>JS修改背景</title>
<script type="text/javascript">
function JS() {
document.addmemeber("form1").memberName("int1").style.background = '#eeeeee';
}
function hid(){
var value = document.getElementByIdx_x("h").value ;
alert(value) ;
}
</script>
</head>
<body>
<form action="" name="form1">
<input type="text" name="int1" value="" onclick="JS();"/><br/>
<input type="hidden" id="h" name="h" value="隐藏"/>
<input type="button" value="按钮" onclick="hid();"/>
</form>
</body>
</html>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询