How can I convert a JavaScript DOM object to a jQuery object?
function changeStatus(myObject) { XXX.removeClass 2条回答 后悔当初 (楼主) 2021-02-01 01:48 Simply wrap the pass the DOM object in as the first argument. $(myObject).removeClass('foo'); 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Simply wrap the pass the DOM object in as the first argument.
$(myObject).removeClass('foo');