title: how do you select all siblings which are generated dynamically jquery
body: <p>this code works when I have an element (generated dynamically) and I want to select the sibling of that element just once.</p>
  
  <p>how would I select the sibling off all instances of that same class (no idea to know how many since they are generated dynamically). in this case that class is ".username"</p>
  
  <pre><code>  $('#chats').on("click", ".username", function(e){
      $(this).next().css("font-weight", "bold");
  
    })
  </code></pre>
  
  <p>visually, I have a ".username" div which will contain as a sibling a p element.</p>