try Jquery event and +
Mouse Events:
1.click,dbclick
2.focusin,focusout
3.mousedown,mouseout,mouseup,mousemove,mouseover,mouseenter,mouseleave
$(".see-photos").on("click", function(event) { event.preventDefault();//阻止同一node,的相同的其他事件 执行。 event.stopPropagation();//阻止点击链接后,页面跳到顶端。即不要重现加载 $(this).closest(".tour").find(".photos").slideToggle(); });
var price = +$(this).val();//前面的加号+,是表示把当前的value 转换成 number类型
Keyboard Events:
1.keypress
2.keydown
3.keyup
Form Events:
1.blur
2.select
3.change
4.foucs
5.submit
相关推荐
honeyth 2020-09-13
delmarks 2020-06-28
mjshldcsd 2020-08-15
Ping 2020-08-15
Kakoola 2020-08-01
Yellowpython 2020-08-01
chenguangchun 2020-07-26
dailinqing 2020-07-18
xiaouncle 2020-07-05
MayerF 2020-06-14
MrHaoNan 2020-06-13
smalllove 2020-06-09
JayFighting 2020-06-08
xiaoge00 2020-06-07
haokele 2020-05-31
matthewhan 2020-05-25
Alanxz 2020-05-20
82550495 2020-05-19