var div = document.getElementById(“content”);
var elms = div.getElementsByTagName(“*”);

for(var i = 0, maxI = elms.length; i < maxI; ++i) {
if(elms[i].value!=’Undefined’) {
if(elms[i].value == ‘Save’) {
elms[i].style.visibility = “hidden”;
}
if(elms[i].value == ‘Cancel’  ) {
elms[i].style.visibility = “hidden”;
}
if(elms[i].value == ‘View Change Log’  ) {
elms[i].style.visibility = “hidden”;
}
}
}

Advertisements