// Class Wizard function wizard() { } // Does a form check on every new page load wizard.prototype.doFormCheck = function() { w.addReadOnly(); } // Disable DnD on element // Element has to have a readOnly status set to readonly wizard.prototype.disableDnd = function(el_id) { // el = document.getElementById(el_id); // el.removeAttribute('readOnly'); } // Add readOnly access on all inputs of a form wizard.prototype.addReadOnly = function() { inputs = document.getElementsByTagName('input'); for(i=0;i