dropdown filter

Hello,
is there a way to look what the user just filtered?
Because i want to save this information into a cookie. So that the next time the filter ist already there.
I use:
#select_filter_strict,#select_filter and #text_search

i saw:

mygrid.attachEvent("onFilterEnd", function(elements){ mygrid.attachEvent("onFilterStart", function(indexes,values){ mygrid.attachEvent("onCollectValues", function(index){

but these only tell me which of the columns are filters. But i need which column was filtered and with which value it was filtered.

Is there a solution? Maybe with a example?

In case of “onFilterEnd” event “elements” is collection of filtering elements
docs.dhtmlx.com/doku.php?id=dhtm … nfilterend

Hello if i do the “onFilterEnd” event i get this:

[code]# [object HTMLSelectElement],8

[object HTMLSelectElement],7

[object HTMLSelectElement],6

[object HTMLSelectElement],5

[object HTMLSelectElement],2

[object HTMLSelectElement],1

[object HTMLSelectElement],0[/code]

But where are my filtering elements?
And what is HTMLSelectElement?

To get elements of all filters you can use following code:

mygrid.attachEvent("onFilterEnd",function(elements){ for (i in elements){ var filter_value=elements[i][0].value; } });