Related to the previous post about accessing a List Filter Web Part value How to get value of List Filter web part in Javascript?

How do I get access to the value of multiple list filter web part using the $("div.ms-WPBody div div div span input").val(); approach that works on my first webpart, but only

1 Answer 1


I worked out how to access the value of each webpart

$("div.ms-WPBody div div:eq(0) span input").val();  

for your 1st webpart

$("div.ms-WPBody div div:eq(1) span input").val(); 

for your second webpart, and so on

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.