title: how to add items to shopping cart without adding button just on click on the picture
body: <p>Recently i have been doing my own shopping cart but i have a problem , i don't want to add "add to cart" button on the item , i want to add items to the shopping cart by clicking on the items pictures; in the first click adding to cart and in the second one remove it from the cart .</p>
  
  <p>I used this code but it does not work it needs a button;</p>
  
  <pre><code>$(document).ready(function(e) {
      $('#submitbutton').click(function(e) {
          var pos = $('#inputid').val();
          alert(pos);
          return false;
      });
  });
  </code></pre>
  
  <p>thanks for advice </p>