I want to append some html to an empty non null jQuery object only in the loop but it\'s not working unless I create an object and add an html tag during creation. How can I cre
i testet the above solution but it did not work for me, it always stayed as empty jQuery object...
if anybody interested, here is my solution:
var jQueryElements = [], $new; $.each( [1, 2, 3, 4], function(i, v){ jQueryElements = jQueryElements.push($('').get(0)); }); $new = $(jQueryElements); 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复