This is a javascript related issue with crm 4 2011 online
I created the -status: open, closed parameter and an onchange event handler that calls the run function with the context parameter as the parameter.
In js, I tried the following and more:
function run(selectedItems) { var s = selectedItems[0]; }
But I always get the variable undefined.
How to get the selected value from a set of parameters?
thanks
EDIT:
I tried
function run() { alert("hello"); var texter = Xrm.Page.getAttribute("new_state_request").getSelectedOption().text; alert(texter); }
just now. Gettin this: Error in custom event of this field. field: new_state_request Event: OnChange Error: undefined
source share