0

before asking here i have tried many types and times but no use i am getting same error both Uncaught ReferenceError: jQuery is not defined and $ is not defined. my code is

<script src="js/jQuery.min.js"></script>
<script src="js/jQuery-ui.min.js"></script> 
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/floating-1.12.js" type="text/javascript"></script>
<script src="js/stickyfloat.js"   type="text/javascript"></script>
<script type="text/javascript">  
    jQuery(document).ready(function($)  
    {  
        $('#floatdiv').addFloating(  
            {  
                targetRight: 10,  
                targetBottom: 10,  
                snap: true  
            });  
    });  
</script> 
<script>
$(".bt").click(function() {
    $('.easing').parent().hide();
});
</script>

please help me

Satpal
  • 126,885
  • 12
  • 146
  • 163
Vinayaka N
  • 105
  • 2
  • 11

1 Answers1

0

$ - is the defult character for jquery. you had ovveride it when you wrote it as function parameter,Just try remove the param $ from function:

     jQuery(document).ready(function()

    {

        $('#floatdiv').addFloating(

            {

                targetRight: 10,

                targetBottom: 10,

                snap: true

            });

    });
user5260143
  • 936
  • 2
  • 9
  • 29