日期:2014-05-17 浏览次数:20678 次
<!DOCTYPE html>
<html lang="en">
<header>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="static/css/main.css" type="text/css" rel="stylesheet" />
<link type="text/css" rel="stylesheet" href="static/bootstrap/css/bootstrap.css">
<style type="text/css">
body {
padding-top: 26px;
}
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="static/bootstrap/js/bootstrap.js"></script>
<script src="static/js/jqBootstrapValidation.js"></script>
<script>
var a = 0;
$(function () { $("input,select,textarea").not("[type=submit]").jqBootstrapValidation(); } );
function single_sign(){
a++;
alert(a);
};
</script>
</header>
<body>
<!--Single Form -->
<div class="modal hide fade" id="SingleForm">
<form class="form-horizontal" onsubmit="javscript:single_sign();return false;" >
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3>单人报名</h3>
</div>
<div class="modal-body">
<fieldset>
<div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='abd68018ba0fd1867e9c39d655ec1055' /></div>
<div class="control-group">
<label class="control-label" for="id_author0">ID</label>
<div class="controls">
<input id="id_author0" type="text" name="author0" required />
</div>
</div>
<div class="control-group">
<label class="control-label" for="id_contact0">联系方式</label>
<div class="controls">
<input id="id_contact0" type="text" name="contact0" required />
</div>
<