title: How to change Text in a Link if Link is active?
body: <p>I have a .php file that structures my slideshow. In that slideshow I have a little "+" that – onClick – toggles down a div with more information. I just don't know how to manage that, if the div is toggled down, so the link is "active" the "+" is changed to a "-" or a "x"?</p>
  
  <p>Can someone help me with that?</p>
  
  <pre><code>"&lt;div id='dialog-box-text'&gt;&lt;a href='#' onclick=\"$('#dialog-toggle').toggle();\" style='display: block;'&gt;[+]&lt;/a&gt;&lt;div id='dialog-toggle'&gt;"
  </code></pre>
  
  <p>This is my little line of code, that manages this "effect"</p>
  
  <p>Thank you for any help!!!</p>