jq的next()函数时,为什么显示thisObj.next is not a function?

-----HTML----
<img class="my-img" id="myimg" src="images/resources.png" onmouseout="hidebutton(this)"
onmouseover="showbutton(this)">
<div id="button" class="button">
<button>隐藏按钮</button>
</div>
----------jq--------
function hidebutton(thisObj) {
debugger;
thisObj.next(".button").css("display", "none");
}

呼如林
浏览 266回答 1
1回答

森栏

thisObj这个是DOM元素$(thisObj).next 就对了
打开App,查看更多内容
随时随地看视频慕课网APP