title: How can I replace a special character with an onclick?
body: <p>I found a Js function for collapsible text.</p>
  
  <p></p>
  
  <pre><code>    function toggle(id) {
        var e = document.getElementById(id);
  
        if (e.style.display == '')
          e.style.display = 'none';
        else
          e.style.display = '';
      }
  
      &lt;/script&gt;
  </code></pre>
  
  <p>And here is the html :</p>
  
  <p>   &#9658; Title01 
       
      Text01, Text01, Text01, Text01, Text01, Text01, Text01, Text01, Text01, 
      </p>
  
  <p>What I would like is when I onclick this special character : <code>&amp;#9658;</code> it would change in this one :<code>&amp;#9650;</code> , any clues ?</p>
  
  <p>Thanks in advance !</p>