Subj : Re: problem on setter of object;'s property To : lyg From : Brendan Eich Date : Mon Feb 09 2004 10:34 pm lyg wrote: > I made a mistake, it ought to be when i get the value property, why the >GetOptionProperty function is not called. > i found the sticking point. i should use "proto = JS_InitClass(cx, obj, >NULL, &OptionClass, Option, 4, > OptionProperties, NULL, NULL, ,NULL)" instead of " proto = >...........4, NULL , NULL, OptionProperties, NULL)"; > > Right, I should have spotted that. Glad you found the problem -- hope all is working now. /be .