简体   繁体   English

表ID引用HTML到下一页带有href的标记,我想将该标记内的文本感知到下一页

[英]Table id ia referenced HTML a tag with href to next page, I want to sen the text inside that a tag to next page

I have a table where first column is id which is in a html 'a' tag. 我有一个表,其中第一列是html'a'标记中的id。 I want to send that id value to the page in 'href' field when clicked on that id. 单击该ID时,我想将该ID值发送到“ href”字段中的页面。

You can assemble a GET request in the url. 您可以在URL中组合一个GET请求。

<a href="nextpage?id=23">23</a>

And then fetch the GET parameter on the nextpage 然后在下一页获取GET参数

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM