2011-08-03 07:26:39 +00:00
|
|
|
<div id="image" value="5">
|
|
|
|
<img src='../../Content/Images/watched.png' class='ignoreEpisode watched' value='5' />
|
|
|
|
</div>
|
2011-05-29 21:25:00 +00:00
|
|
|
|
2011-08-03 07:26:39 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(".ignoreEpisode").live("click", function () {
|
|
|
|
var toggle = $(this);
|
2011-05-29 21:25:00 +00:00
|
|
|
|
2011-08-03 07:26:39 +00:00
|
|
|
if (toggle.hasClass('watched')) {
|
|
|
|
toggle.removeClass('watched');
|
|
|
|
toggle.attr('src', '../../Content/Images/unwatched.png');
|
|
|
|
}
|
2011-06-30 05:22:34 +00:00
|
|
|
|
2011-08-03 07:26:39 +00:00
|
|
|
else {
|
|
|
|
toggle.addClass('watched');
|
|
|
|
toggle.attr('src', '../../Content/Images/watched.png');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
2011-06-30 05:22:34 +00:00
|
|
|
|