The console gives this error:
Uncaught TypeError: $ is not a function at profile.php?id=1:122 I tried it in an empty .php file, everything works fine there, I concluded that some internal script interferes with the work. $.noConflict(); did not help. How to solve this problem?
PHP file:
<!DOCTYPE html> <html lang="en"> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="/engine/smiles/emojionearea.js"></script> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> Styles and other non-script entries are omitted in <head> .
All connected modules respond Response code: 200 .
The script itself:
<div class="box-v5 panel"> <script type="text/javascript"> $.noConflict(); $(document).ready(function() { //Π’Π° ΡΠ°ΠΌΠ°Ρ ΡΡΡΠΎΡΠΊΠ°, Π½Π° ΠΊΠΎΡΠΎΡΡΡ ΡΡΠ³Π°Π΅ΡΡΡ ΠΊΠΎΠ½ΡΠΎΠ»Ρ $("#emojionearea1").emojioneArea({ pickerPosition: "left", tonesStyle: "bullet" }); }); </script> <div class="panel-heading padding-0 bg-white border-none"> <textarea id="emojionearea1">Default :smile:</textarea>
php? I see onlyjsandhtml. - Klimenkomud$(document).ready(function($) {- Regentready-console.log($);- Igordocument.ready? - Regent