javascript - Uncaught ReferenceError: $ is not defined? -


how come code throws an

uncaught referenceerror: $ not defined

when ok before?

$(document).ready(function() {     $('#tabs > ul').tabs({ fx: { opacity: 'toggle' } });     $('#featuredvid > ul').tabs(); }); 

results in tabs don't close anymore.

jquery referenced in header:

<script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/js/sprinkle.js"></script> <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/js/jquery-1.2.6.min.js"></script> <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/js/jquery-ui-personalized-1.5.2.packed.js"></script> 

you should put references jquery scripts first.

<script language="javascript" type="text/javascript" src="/js/jquery-1.2.6.min.js"></script> <script language="javascript" type="text/javascript" src="/js/jquery-ui-personalized-1.5.2.packed.js"></script> <script language="javascript" type="text/javascript" src="/js/sprinkle.js"></script> 

Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -