Type Mismatch Error When Using Jquery

RegisterLogin
Type Mismatch Error When Using Jquery
Post Description: 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
Tags: jquery,javascript,computer,programming
This Post Was Posted On Jan 08, 2012 By Adss #4074
08p-4074-type-mismatch.jpg border=
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:

$("#JsOutput").html(jv1ActionArray);

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';
$("#JsOutput").html(WebuneTest);


it worked!!! so basically, i was using an array not an array element or a variable

in php we call it string.
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2013 Webune Forums - Wed Jan 02, 2013 7:54 pm
Powered by: Webune Forums V3