如何使用包含在变量中的类项来计算元素
到目前为止http://jsfiddle.net/jGj4B/
var post = '<div/><div class="item"></div><div class="item"></div><div class="item"></div><div class="item"></div>';
alert($(post).find('.item').length); // i have tried .size() in place of .length