var box = document.getElementById(‘box‘); console.log($(box));
第一种方式:
$(‘button‘)[0]
第二种方式:
$(‘button‘).get(0)
jquery对象和DOM对象转换
原文:https://www.cnblogs.com/fmgao-technology/p/9252236.html