前台页面跳转的例子(两种实例)

来源:互联网 发布:mac版金蝶友商智慧记 编辑:程序博客网 时间:2024/05/24 05:57
<!DOCTYPE HTML><html><head runat="server"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>跳转页面id值的传递例子</title><script src="../../../ft/json/v12/jquery-1.11.3.js"></script><link href="../../../ft/json/v12/jsonsvr12.css" rel="stylesheet" /><script src="../../../ft/json/v12/jsonsvr12.js" ></script><script type="text/javascript">    function gotoUrl(trid){      setServerSession("/ft/json/v12/list13.html?trid",trid);      location = "list13.html";    }</script></head><body>    <div data-cinote="数据列表" class="cidatalist">        <table data-cinote="数据绑定表格" id="citableuser" class="citable" citblselcls="*" citblfrmcls="UT_TST_USER" citblkeyfld="TRID" style="width:650px;" >            <thead>                <tr>                    <th>姓名</th>                    <th>生日</th>                </tr>            </thead>            <tbody data-cinote="迭代区" class="citbody">                <tr data-citrid="#TRID#">                    <td><a href="list13.jsp?trid=#TRID#">#NAME#</a></td>                    <td><a href="javascript:gotoUrl(#TRID#)">#BIRTHDAY#</a></td>                    </td>                </tr>            </tbody>        </table>    </div></body></html>
0 0