summaryrefslogtreecommitdiff
path: root/dom/html/test/bug448564-submit.js
blob: 34de44d4dd5c4bb5a50012bba71bfc4fa06f342d (plain)
1
2
3
4
var inputs = document.getElementsByTagName("input");
for (var input, i = 0; input = inputs[i]; ++i)
  if ("submit" == input.type)
    input.click();