metismenu icon indicating copy to clipboard operation
metismenu copied to clipboard

TypeError: $(...).metisMenu is not a function

Open yasserzaid opened this issue 8 years ago • 11 comments

Dear, I'm using Bootstrp with JQuery UI Calender DatePicker and i got this error i think there is a conflict

Please how can i solve this issue

Thank you

yasserzaid avatar Dec 18 '16 07:12 yasserzaid

Hi @yasserzaid Could you give some more detail?

onokumus avatar Dec 18 '16 09:12 onokumus

I'm using ASP.Net application and use Bootstrap design with Menu and i have ASPX Page with JQuery UI Calendar (date-picker) when i open this page from Menu the collapse and expand of Menu is not working and for any other page not using JQuery Calendar Menu works fine

Kindly advice

yasserzaid avatar Dec 18 '16 09:12 yasserzaid

It should not be in conflict with jQuery UI. What are the error messages on the console?

onokumus avatar Dec 18 '16 09:12 onokumus

I got this message

  • Warning Message jQuery.Deferred exception: $(...).metisMenu is not a function TypeError: $(...).metisMenu is not a function at HTMLDocument. (http://yasserzaid-001-site1.btempurl.com/Scripts/sb-admin-2.js:4:21) at mightThrow (http://yasserzaid-001-site1.btempurl.com/Scripts/jquery-3.1.1.js:3570:29) at process (http://yasserzaid-001-site1.btempurl.com/Scripts/jquery-3.1.1.js:3638:12) undefined
  • Error Message Uncaught TypeError: $(...).metisMenu is not a function at HTMLDocument. (sb-admin-2.js:4) at mightThrow (jquery-3.1.1.js:3570) at process (jquery-3.1.1.js:3638)

Thank you.

yasserzaid avatar Dec 18 '16 10:12 yasserzaid

Could you try using jQuery version 3.1.1 or 2.2.4?

onokumus avatar Dec 18 '16 10:12 onokumus

Dear, I did and not working too i used 3.0.1 and 3.1.1 and 3.1.1.min and not working I think this because jquery version conflict between js for bootstrap and UI calendar

Any advise

yasserzaid avatar Dec 18 '16 10:12 yasserzaid

so... can you fix your problem? because i've de same problem, but in angular9 :C

ghost avatar Mar 06 '20 22:03 ghost

now...I want to know, have you solve this problem now?😂

bowuL avatar Jun 15 '20 09:06 bowuL

No not yet

yasserzaid avatar Jun 15 '20 14:06 yasserzaid

@onokumus I too have the same issue. any suggestions?

smhnkmr avatar Jun 29 '20 17:06 smhnkmr

@onokumus I too have the same issue. any suggestions?

No, you can choose to cancel use the bootstrap,-.->

bowuL avatar Jul 01 '20 07:07 bowuL