I use the SharePoint List Filter web part on a page to control several Data View Web Parts.
How do I read the current value of the List Filter in Javascript?
|
I use the SharePoint List Filter web part on a page to control several Data View Web Parts. How do I read the current value of the List Filter in Javascript? |
|||
|
|
|
SharePoint List Filter web part is rendered as input text field for displaying filter value:
and input hidden field for storing filter value:
Below are demonstrated several ways how to retrieve filter value on the client side. Retrieve filter value from input hidden field (jQuery dependency)
Retrieve filter value from context info
Usage
|
|||
|
|
|
Another method I just found after more research:
vgrem provided a more beautiful version though ;) |
|||
|
|