首页 新闻 搜索 专区 学院

点击确定,页面会刷新并且闪烁一下,怎么能不闪烁

0
[已关闭问题] 关闭于 2017-12-30 13:50

源码:

<%@ page language="java" contentType="text/html; charset=utf-8"
     pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
    String path = request.getContextPath();
    String basePath =     request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()      +path+"/";
%>
<!DOCTYPE html>
 <html>
  <head>
   <base href="<%=basePath%>">
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title></title>
   <link rel="shortcut icon" href="favicon.ico"> <link        href="Public/Theme1/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
   <link href="Public/Theme1/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
   <link href="Public/Theme1/css/plugins/iCheck/custom.css" rel="stylesheet">
  <link href="Public/Theme1/css/animate.min.css" rel="stylesheet">
  <link href="Public/Theme1/css/style.min.css?v=4.1.0" rel="stylesheet">
  <link href="Public/Theme1/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-sm-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>修改活动 </h5> <span>&nbsp</span>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
<i class="fa fa-wrench"></i>
</a>

<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content" style="height: 600px;">
<form method="post" action="activity/updactivityaction" class="form-horizontal" id="form-admin-add">
<input type="hidden" name="a_id" value="${rs_activity.a_id}">
<div class="form-group">
<label class="col-sm-2 control-label">活动名称</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="a_name" value="${rs_activity.a_name}" required>
</div>
</div>

<div class="form-group">
<label class="col-sm-2 control-label">开始时间</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="indate" name="start_time" value="${rs_activity.start_time}" required>
</div>
</div>

<div class="form-group">
<label class="col-sm-2 control-label">结束时间</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="dateinfo" name="end_time" value="${rs_activity.end_time}" required>
</div>
</div>

<div class="form-group">
<label class="col-sm-2 control-label">活动内容</label>
<div class="col-sm-10">
<script id="contentContent" name="content" type="text/plain">${rs_activity.content}</script>

<!-- 配置文件 -->
<script type="text/javascript" src="Public/Theme1/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="Public/Theme1/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
var ue = UE.getEditor('contentContent', {
initialFrameHeight:200,
});
</script>
</div>
</div>

<div class="hr-line-dashed"></div>
<div class="form-group">
<div class="col-sm-4 col-sm-offset-2">
<button class="btn btn-primary" type="submit">确认</button>
<a class="btn btn-primary" href="activity/activityList" onclick="self.location=document.referrer;">返回上一页</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="Public/Theme1/js/jedate/jedate.js"></script>
<script src="Public/Theme1/js/jquery.min.js?v=2.1.4"></script>
<script src="Public/Theme1/js/bootstrap.min.js?v=3.3.6"></script>
<script src="Public/Theme1/js/content.min.js?v=1.0.0"></script>
<script src="Public/Theme1/js/plugins/iCheck/icheck.min.js"></script>
<script type="text/javascript" src="Public/Theme1/check/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="Public/Theme1/check/js/messages_zh.min.js"></script>
<script type="text/javascript" src="Public/Theme1/check/js/validate-methods.js"></script>
<script type="text/javascript"></script>
<script type="text/javascript">
//jeDate.skin('gray');
jeDate({
/* dateCell:"#indate",//isinitVal:true,
format:"YYYY-MM",
isTime:false, //isClear:false,*/
dateCell:"#indate",
format:"YYYY-MM-DD",
//isinitVal:true,
isTime:true,
})
jeDate({
dateCell:"#dateinfo",
format:"YYYY-MM-DD",
//isinitVal:true,
isTime:true,
})
</script>
</body>

</html>

码农老黄的主页 码农老黄 | 初学一级 | 园豆:34
提问于:2017-12-30 13:49
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册