Archive

Archive for the ‘javascript’ Category

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

2014/03/08 Leave a comment

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 …