Type Mismatch Error When Using Jquery
- Type Mismatch Error When Using Jquery
in this page i will show you what i did to resolve this error i was getting on my internet explorer that said type mismatch when i was using jquery code , Last Updated: Sun Jul 05, 2020
Sun Jan 08, 2012
hi everyone, i just wanted to tell you about a problem i had while using jquery.
i had a script that i was working and i kept getting this error message on internet explorer tha said: Type mismatch on jquery.min.js
so what does it mean? i dont know, but i will tell you how i was able to fix it.
so this is what i was doing, i wanted to show some message on a div using the innerhtml from jquery, so my code looked like this:
can you see what the problem is? no. ok i will tell you.
the problem was that i was using an array variable. once i changed it to this it worked:
var WebuneTest = 'Can you see me';
it worked!!! so basically, i was using an array not an array element or a variable
in php we call it string.