当前位置:网站首页>Share the small problems you have encountered in writing projects recently
Share the small problems you have encountered in writing projects recently
2022-04-22 12:35:00 【Yunmo - brother Kuang's blog】
Question 1 : Component development banner Picture time , Use var prev = $(’.ui-slider-arrow .left’,ui); In this way, it doesn't get the element I want
-
this Point to the caller of the function , stay Uislider In the method ,this Point to .ui-slider, take this Assign a value to a variable ui.
for example :var wrap= $(’.ui-slider-wrap’,ui); This code means in .ui-slider Select the .ui-slider-wrap Elements . -
The definition is consistent with the name when calling

My problem is that the selector is incorrectly written ( The problem is relatively retarded )

Here mine ui-slider stay HTML Structure is a class , The right thing to do is $(’.ui-slider’).Uislider();
The screenshot below is html structure

Question two : I put these codes , After all the modifications , It is found that the picture switching cannot be realized by clicking the small round dot
Found the problem below

Use here a Label the origin , Be sure to give a Labeled href Attribute addition # value , perhaps javascript:0 Let it remove the default behavior

版权声明
本文为[Yunmo - brother Kuang's blog]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221225118269.html
边栏推荐
- LeetCode 118、杨辉三角
- Redis cannot add data
- 表单是否为空验证
- let与var的区别,几个经典的小面试题
- R语言ggplot2可视化:ggplot2可视化将图像的图例(legend)移动到图像内部、自定义图例所处的位置
- Male female pairing
- matlab 自动选择不标准桥梁跨径代码(源代码完全版)
- R语言使用write_xlsx函数导出、写入dataframe数据到excel文件实战
- [concurrent programming 051] implementation principle of volatile memory semantics
- [in depth understanding of tcallusdb technology] scan data interface description - [list table]
猜你喜欢

2022年四月21号S S M 框架整合@第一课 S S M 环境配置&重在实操。实操中总结。这里不展示结果。

LeetCode 83、删除排序链表中的重复元素
![[in depth understanding of tcallusdb technology] scan data interface description - [list table]](/img/ed/cccd5dee09d2f0a3e6c788bd265b36.png)
[in depth understanding of tcallusdb technology] scan data interface description - [list table]

VR全景婚礼给你别样的浪漫,记录婚礼的甜蜜瞬间

TypeError: connection. connect is not a function

Application case sharing of isolated integrated current sensor ch704 which can measure current above 50A
![[logical fallacies in life] controlling violence with violence and suppressing rationality](/img/5a/2d69a7ae6e2ac108cd2bd937f3fcdf.jpg)
[logical fallacies in life] controlling violence with violence and suppressing rationality

MySQL 5.0 installation tutorial illustration detailed tutorial

标准化钢箱梁abaqus模型建立,使用RSG的插件二次开发

Express Can‘t set headers after they are sent. problem
随机推荐
NLP dataset collation (updating)
Partagez quelques conseils pratiques que vous avez accumulés sur un projet mobile récemment écrit
Introduction of a protection circuit of heat pump device with automatic switching overcurrent protection module (application case of acs758 / ch704)
LeetCode 118、杨辉三角
Knowledge points that need to be recorded in the work
今日睡眠质量记录76分
vr全景真实还原驾校环境,vr直播展现驾校硬实力
[concurrent programming 047] cache locking performance is better than bus locking. Why not eliminate bus locking?
[concurrent programming 052] talk about double check lock and its advantages?
JS基础7
The ABAQUS model of standardized steel box girder is established, and the plug-in of RSG is used for secondary development
Esp32-cam usage history
Efr32 crystal calibration guide
Ont and ONU
【并发编程047】缓存锁定性能优于总线锁定, 为什么不淘汰总线锁定?
The difference between let and VaR
JS基础12
JS基础10
Ros2 learning notes (IX) learn the bag recording of ros2 from turnlesim
node.js数据库报错Failed to lookup view “list“ in views directory