使用 perl 获取 HTML id 标签

Getting HTML id tags using perl

我可以获得 html 个参数,例如

name="something"

像这样

cgi->param("something")

那我想获取id的时候呢

id="something"

仅浏览器 sends the name and and value of successful controls, and the name 由元素的 name 属性设置。他们的 id 属性未发送,因此您需要使用正确的属性。