I would like to know if there is a better/cleaner way to accomplish what I have in the code below.
var updateJob = function(){ document.getElementById(\
Try this:
var toggle = ["jobDescription","updateButton","equipmentList","jobDesc","equipRan"], l = toggle.length, i; for( i=0; i
Alternatively, put all those elements in one container and just toggle that.