title: if a span contain a specific text add a display:none;
body: <pre><code>$(document).ready(function(){
      $('.views-field-nothing').click(function(){
          $(this).parent().find('.comments-toggle').slideToggle("fast");
          $('.comments-toggle:contains('Anonimo')').css("display", "none");    
      });   
  });
  </code></pre>
  
  <p>at first it must show the comment field clicking on View-field-nothing (slideToggle) then if it find "Anonimo" it should replace the slideToggle -> Display:block; with a Display:none.. </p>
  
  <pre><code>&lt;div class="views-row"&gt;
      &lt;div class="views-field-nothing"&gt;
          &lt;span class="field-content"&gt;
              &lt;span class="comments"&gt;COMMENTI&lt;/span&gt;
          &lt;/span&gt;
      &lt;/div&gt;
      &lt;div class="views-field-name"&gt;
          &lt;span class="field-content"&gt;
              &lt;span class="comments-toggle"&gt;Anonimo&lt;/span&gt;
          &lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt; 
  
  &lt;div class="views-row"&gt;
      &lt;div class="views-field-nothing"&gt;
          &lt;span class="field-content"&gt;
              &lt;span class="comments"&gt;COMMENTI&lt;/span&gt;
          &lt;/span&gt;
      &lt;/div&gt;
      &lt;div class="views-field-name"&gt;
          &lt;span class="field-content"&gt;
              &lt;span class="comments-toggle"&gt;Utente A&lt;/span&gt;
          &lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>once you click the second "Commenti" that is is in the "view-field-nothing" div the function .slideToggle() must write a display:block; in the html, like down here</p>
  
  <pre><code> &lt;div class="views-row"&gt;
     &lt;div class="views-field-nothing"&gt;
        &lt;span class="field-content"&gt;
            &lt;span class="comments"&gt;COMMENTI&lt;/span&gt;
        &lt;/span&gt;
   &lt;/div&gt;
   &lt;div class="views-field-name"&gt;
      &lt;span class="field-content"&gt;
          &lt;span class="comments-toggle"&gt;Anonimo&lt;/span&gt;
      &lt;/span&gt;
   &lt;/div&gt;
  &lt;/div&gt; 
  
  &lt;div class="views-row"&gt;
   &lt;div class="views-field-nothing"&gt;
       &lt;span class="field-content"&gt;
           &lt;span class="comments"&gt;COMMENTI&lt;/span&gt;
       &lt;/span&gt;
  &lt;/div&gt;
  &lt;div class="views-field-name"&gt;
      &lt;span class="field-content"&gt;
          &lt;span class="comments-toggle" display:block;&gt;Utente A&lt;/span&gt;
       &lt;/span&gt;
   &lt;/div&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>if i click the first "COMMENTI" it should find the "Anonimo" string in the span and write at the end of the span a display:none;</p>
  
  <pre><code> &lt;div class="views-row"&gt;
     &lt;div class="views-field-nothing"&gt;
        &lt;span class="field-content"&gt;
            &lt;span class="comments"&gt;COMMENTI&lt;/span&gt;
        &lt;/span&gt;
   &lt;/div&gt;
   &lt;div class="views-field-name"&gt;
      &lt;span class="field-content"&gt;
          &lt;span class="comments-toggle" style="display:none;"&gt;Anonimo&lt;/span&gt;
      &lt;/span&gt;
   &lt;/div&gt;
  &lt;/div&gt; 
  
  &lt;div class="views-row"&gt;
   &lt;div class="views-field-nothing"&gt;
       &lt;span class="field-content"&gt;
           &lt;span class="comments"&gt;COMMENTI&lt;/span&gt;
       &lt;/span&gt;
  &lt;/div&gt;
  &lt;div class="views-field-name"&gt;
      &lt;span class="field-content"&gt;
          &lt;span class="comments-toggle" style="display:block;"&gt;Utente A&lt;/span&gt;
       &lt;/span&gt;
   &lt;/div&gt;
  &lt;/div&gt; 
  </code></pre>