$(document).ready(function() {
/*For TextBox*/
var hYear= document.querySelector("input[title='Year']").id;
/*For Choice Field*/
var hCategory= document.querySelector("select[title='Division Category']").id;
(((document.getElementById(hYear).parentNode).parentNode).parentNode).style.display="none";
(((document.getElementById(hCategory).parentNode).parentNode).parentNode).style.display="none";
});
No comments:
Post a Comment