我需要一个javascript代码行,它将点击网页上所有值为“abc”的输入标签。
<input value="abc" onclick="require("InlineFriendInviter").sendInvite("216532985099211", "100002543193060", "u_1h_2l", "send", "admin_tip");" type="submit" id="u_1h_2m">
当我尝试时,
$('input[value="abc"]').click();
我收到错误
Error: <![EX[["Tried to get element with id of \"%s\" but it is not present on the page.","input[value=\"abc\"]"]]]>