導航欄點擊出現提示框(彈出層)

導航欄點擊出現提示框(彈出層) 2018年10月26日 15:17   1.先給導航欄下的<a>標籤設屬性 data-method="" ,其他理應可以(沒有嘗試),給導航欄添加監聽 說明:elem[0] =this method = this.attributes["data-method"].nodeValue  獲得屬性 data-method 裏的值保存到method 中(method是全
相關文章
相關標籤/搜索