0

i am getting jquery.min.js:2 Uncaught TypeError: $(...).draggable is not a function error in draggable.The scripts loaded are as follows.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/ui/1.8.20/jquery-ui.min.js" type="text/javascript"></script>

<script src="http://jquery-ui.googlecode.com/svn/tags/latest/external/jquery.bgiframe-2.1.2.js" type="text/javascript"></script>
<script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/minified/i18n/jquery-ui-i18n.min.js" type="text/javascript"></script>

$(function () {
        
        $("#dragdiv .drag_pet").draggable(
                {
                    //helper:"clone",
                    containment: "document",
                    revert: true,
                    revertDuration: 200
                });
});

how to solve this?

jaina
  • 11
  • 4

0 Answers0