Menu
How can I call a method from withinf the class?
This is the sort of thing I mean
[code=php]
function TheClass()
{
var aVariable;
}
TheClass.prototype.methodOne = function()
{
this.methodTwo();
}
TheClass.prototype.methodTwo = function()
{
//here is some other stuff
}
Thanks
Rob