Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

object doesnt support property or method getselectoption on form onload

$
0
0

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.


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>