Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82145

Accessing "sSearch_n" from javascript

$
0
0
I will try to type this so it is as clear as possible what I am trying to do ...

Anyway ...

I have a grid, multi-select, multi-column filtering.

Everything works great (thank you!).

What I'm trying to do next is, when a custom button is clicked, take an array of ids that I have cobbled together from the selected rows, and the search parameters ((sSearch_0 ... sSearch_n) previously entered by the user and make an ajax request to my server side code.

Sending my array is obviously no problem but I am having some trouble finding those sSearch_n values.

I see them appended to the ajax querystring that is the original source of the grid data and assumed they were passed in the aoData, but I can't find them in there.

Could you tell me where I can grab this data from so I can append it to the ajax call I make when my button is clicked?

Thanks!

Viewing all articles
Browse latest Browse all 82145

Trending Articles