douwen4178 2012-11-20 16:30
浏览 48

将数据从一个表发送到另一个页

I have this table I want when I click on a link in a table row that do a redirect to another page the data will be sent to the new page that can help me I have not found how to start

I'm really stuck code table

<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
    <tr>            


        <th>Date</th>
        <th>provider</th>
        <th>CI</th>
        <th>CELL</th>
        <th>BSC</th>
        <th>Commentaire</th>
        <th>nbr</th>
        <th>Type</th>
        <th><img src="{{ asset('image/Modify.png') }}" ALIGN="CENTER"/></th>
        <th><img src="{{ asset('image/Info.png') }}" ALIGN="CENTER"/></th>
        <th><img src="{{ asset('image/Male.png') }}" ALIGN="CENTER"/></th>
        <th>type_alertes</th>




    </tr>
</thead>
<tbody>




         <div class="textbox">
        <h2> Information KPI dégradées</h2>

            <div class="textbox_content" id="kpi_dégrades">
 {% for liste in listes %}

    <tr class="gradeU">
    <td>{{ liste.DAT }} </td>
    <td>{{ liste.PROVIDER}} </td>
    <td>{{ liste.CI}} </td>
    <td>{{ liste.CELL}} </td>
    <td>{{ liste.BSC}}</td>
    <td>{{ liste.Cmts}}</td>
    <td >{{ liste.nbr}}</td>
    <td>{{ liste.TYPE}}</td>
    <td><a class="edit" href="">Edit</a></td>
    <td onclick="getInfo('{{ liste.CELL}}')">Information KPI dégradés</td>
    <td>{{ liste.user_name}}</td>
    <td>{{ liste.type_alertes}}</td>



</tr>


{% endfor %}
        </div>
        </div>

</tbody>

  • 写回答

3条回答 默认 最新

  • duanmangxie7131 2012-11-20 16:38
    关注

    Use the GET variable to find out the rowID.

    http://example.com/page.php?rowID=xx

    In your main table have a link for each row.

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度