Get the #select_filter selected value...

hello,

    I want to get #select_filter selected value.. i have 5 values in the #select_filter. Once i select a value, then refresh the page using browser button, it will be empty.. im using the below code.
var selectedvalue=mygrid.getFilterElement(2).value;
alert(selectedvalue);

I also included dhtmlxgrid_filter.js file. but using above code couldnt get…
help me plz.

Thanks…

Your code is correct and works well in local example.