SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.