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.
jQueryを使用してhtmlを「スキャン」し、HTML内のテーブルをdivでラップすることは可能ですか?
ありがとう
ラップを使用できます
$('table').wrap('<div></div>');
はい...
$(function() { $("table").wrap("<div />"); });
詳細については、こちらを参照してください.wrap()...
.wrap()
http://api.jquery.com/wrap/