EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Vilisag on December 05, 2014, 01:42:46 AM



Title: Uncaught TypeError: undefined is not a function while using easyui ribbon
Post by: Vilisag on December 05, 2014, 01:42:46 AM
Hi all!
  When i created ribbon menu by code:

1. <div id="rr" style="width:700px;"></div>
2. <script>
3.     $(function(){
4.        $('#rr').ribbon({
5.            data:data
6.        });
7.    });
8. </script>

error appear at line 4: "Uncaught TypeError: undefined is not a function".
Please help me, thank you so much.


Title: Re: Uncaught TypeError: undefined is not a function while using easyui ribbon
Post by: stworthy on December 05, 2014, 07:09:43 AM
Make sure you have included the 'jquery.ribbon.js' file in your page successfully. Also, please check the 'data' value carefully. The ribbon plugin can be downloaded from http://www.jeasyui.com/extension/ribbon.php