I have already looked through the forum, but cannot find any way to fix the problem with the effect function in jQuery.
I get exactly the error code TypeError: $(...).effect is not a function in the code:
$('div.step').removeClass('active'); $("div.step").effect('slide', {direction: 'right', mode: 'hide'}, 500); $('#step' + step + '').addClass('active'); $('#step' + step + '').effect('slide', {direction: 'right', mode: 'show'}, 500);
I have included both jQuery and jQuery UI, like this in <head></head> :
<script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
But in vain, do you have any ideas? Thanks you
javascript function jquery effect
mentinet
source share