I have set up a 'class' using the prototype prop.
I pass the constructor a html tag children object and set 'this.obj = obj'.
When calling the first method of the class using the object it works fine.
However, when calling any second method using the object i get an error.
When debugging(alerting) I am told that in the second method 'this.obj' is
undefined.
I have tried changing the class to call different methods first, and the
result is the same:
first methodcall works fine, later calls to other class methods result in
errors.
It seems the first 'this.obj' instance is acceptable, later ones are not...
I dont get it...
Any ideas ?
--
http://home.online.no/~oeyvtoft/ToftWeb/