I\'m probably doing something wrong but I\'ve tried all sorts of things and can\'t seem to get a collection of jQuery objects wrapped. The following just outputs the link HTML,
jquery .wrap() returns the INNER element back to you, so it looks like nothing changed.
$("").wrap('') ===> [] which looks like it didn't work. but: $("").wrap('').parent() ===> [] it actually did work. 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
which looks like it didn't work.
but:
$("").wrap('').parent() ===> [] it actually did work. 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
it actually did work.