function Form_onload()
{
var selectedOptionSet = Xrm.Page.getAttribute("new_guideline12answer2");
alert(selectedOptionSet.getSelectedOption().text);
alert(selectedOptionSet.getSelectedOption().value);
alert("hi");
}
this thows me an error " object doesn't support property or method getSelectedOption
can someone help me solve this problem, am just trying to hide show tab depending on option selected.