Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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