Difference between revisions of "Team:Pasteur Paris/test"

Line 97: Line 97:
 
//AND STATEMENT
 
//AND STATEMENT
 
       //Construct filter string
 
       //Construct filter string
       var filtersString = '.';
+
       var filtersString = '';
 
       for (var filter in filters) {
 
       for (var filter in filters) {
           filtersString = filtersString+filters[filter];
+
           filtersString = filtersString+'.'+filters[filter];
 
       }
 
       }
 +
      alert(filtersString);
 
       var elems = document.querySelectorAll(filtersString);
 
       var elems = document.querySelectorAll(filtersString);
 
       //for each elemnts containing all the tags, show it in the document
 
       //for each elemnts containing all the tags, show it in the document

Revision as of 12:38, 17 July 2015

Notebook

Search for a content: