On Jan 30, 9:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> resizable will not be able  when using ajaxpro,the javascript error:
> "c[0] has no properties"
>
> code:
> for(var i in this.options.modifyThese) {
> var c = this.options.modifyThese[i];
> c[0].css({
> width: modifier.width ? modifier.width+c[1] : nw+c[1],
> height: modifier.height ? modifier.height+c[2] : nh+c[2]
>
> });
> }

Just a guess, but these kind of errors occur if other libraries/
scripts modify the base Object, e.g. adding properties to its
prototype. A for-in loop then loops over these properties as well
giving you unexpected results. Doing this is considered bad practice
for obvious reasons.


--Klaus

Reply via email to