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

Cannot read property 'split' of undefined #141

Closed
Buzzertech opened this issue Oct 30, 2017 · 3 comments
Closed

Cannot read property 'split' of undefined #141

Buzzertech opened this issue Oct 30, 2017 · 3 comments

Comments

@Buzzertech
Copy link

I'm using iziModal in one of my project (I have used it in the past as well). I'm constantly getting the below error in the console:
Uncaught TypeError: Cannot read property 'split' of undefined at r.fn.init.t.fn.(anonymous function) [as iziModal] (https://cdnjs.cloudflare.com/ajax/libs/izimodal/1.5.1/js/iziModal.min.js:6:23583) at Object.success (http://localhost/MT/main.js:57:30) at i (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:28017) at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:28783) at A (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:4:14035) at XMLHttpRequest.<anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:4:16323)

Any help would be appreciated :)

@Dan-Ross
Copy link

Dan-Ross commented Feb 6, 2018

We're updating a project that used iziModal as well, and the only thing I can see that's different is that we're using a newer version of jQuery (3.2.1) instead of 1.9.1.

I'm getting a near identical error and can't find out why.
@Buzzertech did you ever find a solution?

@hamedgasemi200
Copy link

hamedgasemi200 commented Feb 9, 2018

I have same error , I don't know what's the problem ... I hope someone fix it

jQuery Version : ^3.2
IZIMODAL Version : 1.6.0

@evbermudez
Copy link

you may have initialized iziModal and the element that you are targeting doesn't exist on the current page.

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

4 participants