IAM做這樣的事情訪問jQuery的克隆元素
var _orgElm = $(this).clone(true);
_orgElm.customResize();
$.fn.custumResize = function() {
return this.each(function() {
// problem is here
// when i apply this function an element, it reads width correctly.
//but when i do this on elements clone it reads zero is there is,
// anyway i can read clone width also
$(this).width();
//some code here ............
});
}
它的拼寫是「定製」 – nickf 2010-01-07 14:01:57