Home > javascript, jQuery, Snippets of Code > jQuery: uncaught typeError object has no method [How to fix]

jQuery: uncaught typeError object has no method [How to fix]

If you are getting the following error while execution your jQuery code:

jQuery: uncaught typeError object [object Object] has no method ‘…’

Here it is how I fixed it. Very simple, just adding 1 line of code (the second one):


<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
<script type="text/javascript" language="JavaScript">

… my jQuery code …

</script>

I hope it helps …

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: