Skip to content Skip to sidebar Skip to footer

Jquery Function Error

Here is my piece of code :

Uncaught TypeError: string is not a function

or in Firefox:

type is not a function

In short, you can't use type as a function name here, you just need to give it a slightly different name, for exampled typed.

Here's your code only changing the function name, working :)

Solution 2:

Rename your type function to something else (try somethingElseThanType just to test), and it should work

Post a Comment for "Jquery Function Error"