title: edit css to event.target
body: <p>I am trying to make background change CSS attribute to <code>event.target</code> and it is not working. All the commands are working except changing event.target.css</p>
  
  <p>Here is the code I'm using:</p>
  
  <pre><code>$(document).ready(function() {
      $(".plusMatch").click(function(event) {
  
          if ($("#productImage"+event.target.id).hasClass("visible")) {
              $("#productImage"+event.target.id).css("display", "none");
              $("#productImage"+event.target.id).removeClass('visible');
              event.target.css("background", "url(minusSign.jpg)");
  
          } else {
              $("#productImage"+event.target.id).css("display", "block");
              $("#productImage"+event.target.id).addClass('visible');
              event.target.css("background", "url(minusSign.jpg)");
          }
  
  
      });
  });
  </code></pre>