EasyUI Forum
September 13, 2025, 04:33:37 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Uncaught TypeError: undefined is not a function while using easyui ribbon  (Read 8468 times)
Vilisag
Newbie
*
Posts: 16


View Profile
« 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.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!