simple jquery image change onclick failing -


I have a simple jQuery image switch that is failing.

  $ ('Heart_img' (type heart == 'picture / uncheck.') (// warning ('oh'); $ (this) .attr (' Src ',' images / heart.png ');} and if (type of heart ==' picture / heart '); {$ (this) .attr (' src ',' images / unheart.png '); }};  

The signal starts to fire properly on the fire and the images are in the right place, so I'm not sure what the problem is.

<

  else if (heart_type == 'image / div class = "post-text" itemprop = "text"> 

problem:

heart.png ');

should be

  else if Even better  
  other  
/ Html>

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -