jquery - 为什么这个 Jquery slideToggle 不能在手机上工作?
问题描述
http://lapan.com.ba/denisa-daca-ar-avea-videoclip-original-manele-noi-august-2016/
jQuery是...
<script type="text/javascript">
jQuery(function($) {
$('.show-hide').click(function(e){
e.preventDefault();
$('.entry-content').slideToggle();
$(this).text( $(this).text() == 'Read More' ? "Show Less" : "Read More");
});
});
</script>
它是按钮 Opis...视频下的第三个绿色。
<div class="under-video" style="">
<input style="
float: right;
margin: 5px;
margin-top: 0px;
cursor: pointer;
z-index: 100;
position: relative;"
type="button" value="Opis" class='show-hide' value='hide/show'>...
解决方案
推荐阅读
- javascript - 在我的警报效果代码中添加 twitch 用户名
- ios - 初始化 FlutterFFmpegConfig() 时,Flutter 应用程序在发布模式下崩溃;
- sql - 列表从多到少排序;创作最多家庭电影的创作者将位居榜首
- node.js - UnhandledPromiseRejectionWarning:TypeError:无法读取未定义的属性“public_id”
- python - 如何存储python程序的结果,以便下次不必重新运行所有代码?
- c# - 如何在没有 Windows 窗体中的 while 循环的情况下等待按钮按下事件
- python - WIFI连接丢失后如何重新连接,稍后在Python urllib中恢复
- javascript - 创建一个上三角矩阵/表以在 R Shiny 中收集用户的相关系数
- javascript - 有没有办法自动将每个 href 链接转换为像 Bitly 这样的跟踪链接?
- ruby-on-rails - Rails 6 模型不会保存在控制器中