There is a code:
<span class="complete">Содержимое</span><span class="more">Показать больше...</span> $(".more").toggle(function(){ $(this).text("скрыть...").siblings(".complete").show(); }, function(){ $(this).text("все даты...").siblings(".complete").hide(); });
He works with the library:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"> </script>
But it does not work with the new version:
<script> src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"> </script>
How to live? How to fix?