Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'id' of null #193

Open
Nasreddine opened this issue Dec 19, 2014 · 0 comments
Open

Uncaught TypeError: Cannot read property 'id' of null #193

Nasreddine opened this issue Dec 19, 2014 · 0 comments

Comments

@Nasreddine
Copy link

I'm using magicsuggest with the folllowing config:
$(function() {
$('#magicsuggest').magicSuggest({
allowFreeEntries : false,

        method: 'get',
        data : 'URL',
        ajaxConfig : {
            xhrFields : {
                withCredentials : true,

            }
        } 
    });
});

I get the following error after the page loaded:
magicsuggest-min.js:1 Uncaught TypeError: Cannot read property 'id' of null

when I start typing I get the following error :
magicsuggest-min.js:1 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined.

I get the same error with jQuery jquery-1.11.2.min.js and jquery-1.9.0.min.

Is it a bug within the plugin ?

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

No branches or pull requests

1 participant