Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .redcolor{color:#FF0000;}
- {
- if (!jQuery(this).hasClass('redcolor')) {
- jQuery(this).addClass('redcolor');
- }
- }
- else {
- if (jQuery(this).hasClass('redcolor')){
- jQuery(this).removeClass('redcolor');
- }
- };
Add Comment
Please, Sign In to add comment