【发布时间】:2020-10-28 13:05:30
【问题描述】:
这是我的html代码
<div class="container">
<table class="table table-bordered">
<thead>
<td>Name</td>
<td>Address</td>
<td>city</td>
<td>Pincode</td>
<th>Options</th>
</thead>
{% for row in rows %}
<tr>
<td>{{row["registraion_number"]}}</td>
<td>{{row["rc_number"]}}</td>
<td> {{ row["owner_name"]}}</td>
<td>{{row['state']}}</td>
<td><button type="button" class="use-address"></td>
</tr>
{% endfor %}
</table>
</div>
<a href = "/">Go back to home page</a>
</body>
</html>
如何通过选择该行的特定按钮来获取名称
任何帮助都会有所帮助
【问题讨论】:
标签: javascript html flask bootstrap-4