123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%
- String path = request.getContextPath();
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>表单拆分</title>
- <!-- 框架必需start -->
- <script type="text/javascript" src="<%=path%>/libs/js/jquery.js"></script>
- <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
- <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
- <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
- <link rel="stylesheet" type="text/css" id="customSkin"/>
- <!-- 框架必需end -->
- <!-- 表单拆分 start -->
- <script src="<%=path%>/libs/js/form/stepForm.js" type="text/javascript"></script>
- <!-- 表单拆分 end -->
- <body>
-
- <div class="padding_top20">
- <form method="post" action="" class="stepForm" stepFormTitle="false">
- <div id="step1" class="stepForm">
- <table class="tableStyle" formMode="transparent">
- <tr>
- <td width="100">用户名:</td><td><input id="user" type="text" /></td>
- </tr>
- <tr>
- <td>籍贯:</td>
- <td>
- <select>
- <option value="">请选择籍贯</option>
- <option>北京市</option>
- <option>天津市</option>
- <option>河北省</option>
- </select>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="button" value="下一步" selfTarget="step1" nextTarget="step2"/>
- </td>
- </tr>
- </table>
- </div>
- <div id="step2" class="stepForm">
- <table class="tableStyle" formMode="transparent">
- <tr>
- <td width="100">选择权限:</td>
- <td>
- <select id="select1">
- <option value="1">新增图片</option>
- <option value="2">维护图片</option>
- <option value="3">新增新闻</option>
- <option value="4">发起投票活动</option>
- </select>
- </td>
- </tr>
- <tr>
- <td>性别:</td>
- <td><label for="radio-1">男</label><input type="radio" id="radio-1" name="ra" value="radio-1" />
- <label for="radio-2">女</label><input type="radio" id="radio-2" name="ra" value="radio-2"/>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="button" value="上一步" selfTarget="step2" prevTarget="step1" />
- <input type="button" value="下一步" selfTarget="step2" nextTarget="step3" />
- </td>
- </tr>
- </table>
- </div>
- <div id="step3" class="stepForm">
- <table class="tableStyle" formMode="transparent">
- <tr>
- <td width="100">年龄:</td><td><input type="text" /></td>
- </tr>
- <tr>
- <td>籍贯:</td>
- <td>
- <select >
- <option value="">请选择籍贯</option>
- <option>北京市</option>
- <option>天津市</option>
- </select>
-
- </td>
- </tr>
- <tr>
- <td>爱好:</td>
- <td><label for="checkbox-1" >唱歌</label><input type="checkbox" id="checkbox-1" name="ck1" value="选项1"/>
- <label for="checkbox-2">跳舞</label> <input type="checkbox" id="checkbox-2" name="ck1" value="选项2" />
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="button" value="上一步" selfTarget="step3" prevTarget="step2"/>
- <input type="button" value="下一步" selfTarget="step3" nextTarget="step4" />
- </td>
- </tr>
- </table>
- </div>
-
- <div id="step4" class="stepForm">
- <table class="tableStyle" formMode="transparent">
- <tr>
- <td width="100">年龄:</td><td><input type="text" /></td>
- </tr>
- <tr>
- <td>籍贯:</td>
- <td>
- <select >
- <option value="">请选择籍贯</option>
- <option>北京市</option>
- <option>天津市</option>
- </select>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="button" value="上一步" selfTarget="step4" prevTarget="step3"/>
- <input type="submit" value=" 提 交 "/>
- </td>
- </tr>
- </table>
- </div>
- </form>
-
- </div>
- </body>
- </html>
|