Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是console.log($(this));我试过的console.log($(this).0);,但没有用。
console.log($(this));
console.log($(this).0);
我猜你的意思是:
console.log( $(this).get(0) );
你会想要console.log($(this)[0]);
console.log($(this)[0]);