I need to get all the input objects and manipulate the onclick param.
input
onclick
The following does the job for links. Looking
var inputs = document.getElementsByTagName('input'); for (var i = 0; i < inputs.length; ++i) { // ... }