Hi there,
On Dec 14, 2007 5:26 PM, Glin <[EMAIL PROTECTED]> wrote:
> I tried to use selector example from Mochikit documentation:
>
> var selector = MochiKit.Selector.Selector('#someelementid');
>
> But I got this error:
>
> this.parseExpression is not a function
>
> It is on line 37 in Selector.
It looks like the example is probably incorrect, it's marked as a
constructor so you may need to use the new operator.
var selector = new Selector("#someelementid");
On 12/14/07, Glin <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I tried to use selector example from Mochikit documentation:
>
> var selec
Hi
I tried to use selector example from Mochikit documentation:
var selector = MochiKit.Selector.Selector('#someelementid');
But I got this error:
this.parseExpression is not a function
It is on line 37 in Selector.js.
Should I initialize something before I use this module? Or is it a
bug?