Urban pro

View My Profile

Thursday, October 4, 2012

javascript - JQuery TypeError : Type Error

            

                                                               TYPE  ERROR

Most people face this error when they use an outdated jquery.js . Sometimes this error also comes up when someone tries to use jquery in jsp.

The most important thing here that a person must do is first use an upto date version of jquery.js . Don't worry u don't even have to download this stuff.

Just have this :



Now what else can be done, if you still get this error. Well, may be you can replace all the '$' symbols with 'jQuery'. Voila, your application will now start making use of all the jquery api s from its library perfectly.
Hence, instead of :
$('#id').click()
you will have :
jQuery('#id').click()
And everything will fall in place .

No comments:

Post a Comment