最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會有你想問的

有大佬知道,關(guān)于target.find()是什么意思?

有大佬知道,關(guān)于target.find()是什么意思?

眼眸繁星 2021-06-16 16:11:41
var turn = function(target,time,opts){target.find('a').hover(function(){$(this).find('.class_01').stop().animate(opts[0],time,function(){$(this).hide().next().show();$(this).next().animate(opts[1],time);});},function(){$(this).find('.info').animate(opts[0],time,function(){$(this).hide().prev().show();$(this).prev().animate(opts[1],time);});});}想讓鼠標(biāo)懸停改成鼠標(biāo)點(diǎn)擊,target.find('a').hover改成target.find('a').click沒用
查看完整描述

1 回答

?
達(dá)令說

TA貢獻(xiàn)1821條經(jīng)驗(yàn) 獲得超6個(gè)贊

·就是你獲取到的具體節(jié)點(diǎn)對象后.target就可以了,其實(shí)你仔細(xì)看API都可以看懂的:如果是對于tree插件 find方法的描述[mw_shl_code=javascript,true]Find the specifed node and return the node object. Code example:// find a node and then select itvar node = $('#tt').tree('find', 12);//找到id值為12的節(jié)點(diǎn)對象$('#tt').tree('select', node.target);//選中該節(jié)點(diǎn)[/mw_shl_code]

查看完整回答
反對 回復(fù) 2021-06-21
  • 1 回答
  • 0 關(guān)注
  • 506 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號