Skip to content
This repository has been archived by the owner on Aug 6, 2019. It is now read-only.

TypeError: d is undefined #23

Open
douglasjam opened this issue Oct 1, 2014 · 3 comments
Open

TypeError: d is undefined #23

douglasjam opened this issue Oct 1, 2014 · 3 comments

Comments

@douglasjam
Copy link

Includes:

<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/jquery.livequery.min.js"></script>

The call:

$('.input-mask-cep').livequery(function () {
        $(this).mask("99999-999");
    });

Result in firebug:

...his.id=a.livequery.queries.push(this)-1,d.$lqguid=d.$lqguid||a.livequery.guid++,...
@buste
Copy link

buste commented Oct 24, 2014

same here too. :(

@bzkdjc
Copy link

bzkdjc commented Aug 7, 2015

Same here also!

@bzkdjc
Copy link

bzkdjc commented Aug 7, 2015

Actually, you HAVE TO use this syntax if you don't want to get that error:

$("PARENT_SELECTOR").livequery("INNER_SELECTOR", matchedFn);

As in the following example:

$("ul:first").livequery('li', function(){ /* new <li> inserted */ });

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants