Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您可以使用document.geteElementsByTagName('select')将返回<select>DOM 中所有元素的集合的方法,然后您可以循环并执行您最初打算对元素执行的任何操作。
document.geteElementsByTagName('select')
<select>
参考资料:document.getElementsByTagName。
document.getElementsByTagName
这是我的代码还有很多但是这些独立工作
echo $row['Queue']; echo "<a href=\"modifyp.php?id=" . $row['id1'] . "\">Modify</a>";
我想做的是这个
echo "<a href=\