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